![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SGU
文章平均质量分 57
CHEBEATER
中二病晚期o(^▽^)o
展开
-
107. 987654321 problem
107. 987654321 problem time limit per test: 0.25 sec. memory limit per test: 4096 KB For given number N you must output amount of N-digit numbers, such, that last digits of their squar原创 2014-11-08 01:20:21 · 1230 阅读 · 0 评论 -
111. Very simple problem
111. Very simple problem time limit per test: 0.25 sec. memory limit per test: 4096 KB You are given natural number X. Find such maximum integer number that it square is not greater th原创 2014-11-10 16:29:21 · 638 阅读 · 0 评论 -
120. Archipelago
120. Archipelago time limit per test: 0.25 sec. memory limit per test: 4096 KB Archipelago Ber-Islands consists of N islands that are vertices of equiangular and equilateralN原创 2014-11-11 00:26:08 · 637 阅读 · 0 评论 -
117. Counting
117. Countingtime limit per test: 0.25 sec. memory limit per test: 4096 KBFind amount of numbers for given sequence of integer numbers such that after raising them to theM-th power they will原创 2014-11-10 21:23:17 · 628 阅读 · 0 评论 -
116. Index of super-prime
116. Index of super-primetime limit per test: 0.25 sec. memory limit per test: 4096 KBLet P1, P2, … ,PN, … be a sequence of prime numbers. Super-prime number is such a prime number that its cu原创 2014-11-10 21:23:58 · 763 阅读 · 0 评论 -
119. Magic Pairs
119. Magic Pairs time limit per test: 0.25 sec. memory limit per test: 4096 KB “Prove that for any integer X and Y if 5X+4Y is divided by 23 than 3X+7Y is divided by 23 too.”原创 2014-11-11 00:03:16 · 780 阅读 · 0 评论 -
118. Digital Root
118. Digital Root time limit per test: 0.25 sec. memory limit per test: 4096 KB Let f(n) be a sum of digits for positive integer n. If f(n) is one-digit number then it is a d原创 2014-11-10 23:33:37 · 739 阅读 · 0 评论 -
114. Telecasting station
114. Telecasting station time limit per test: 0.25 sec. memory limit per test: 4096 KB Every city in Berland is situated on Ox axis. The government of the country decided to build new teleca原创 2014-11-10 16:51:13 · 679 阅读 · 0 评论 -
102. Coprimes
102. Coprimestime limit per test: 0.25 sec. memory limit per test: 4096 KB For given integer N (1N104) find amount of positive numbers not greater than N that coprime with N. Let us原创 2014-11-06 02:35:27 · 878 阅读 · 0 评论 -
109. Magic of David Copperfield II
109. Magic of David Copperfield II time limit per test: 0.25 sec. memory limit per test: 4096 KB The well-known magician David Copperfield loves lo show the following trick: a原创 2014-11-10 12:30:24 · 871 阅读 · 0 评论 -
113. Nearly prime numbers
113. Nearly prime numbers time limit per test: 0.25 sec. memory limit per test: 4096 KB Nearly prime number is an integer positive number for which it is possible to find such原创 2014-11-10 16:41:23 · 788 阅读 · 0 评论 -
115. Calendar
115. Calendartime limit per test: 0.25 sec. memory limit per test: 4096 KBFirst year of new millenium is gone away. In commemoration of it write a program that finds the name of the day of the原创 2014-11-10 21:21:39 · 603 阅读 · 0 评论 -
104. Little shop of flowers
104. Little shop of flowerstime limit per test: 0.25 sec. memory limit per test: 4096 KB PROBLEMYou want to arrange the window of your flower shop in a most pleasant way. You haveF原创 2014-11-06 02:39:39 · 934 阅读 · 0 评论 -
105. Div 3
105. Div 3 time limit per test: 0.25 sec. memory limit per test: 4096 KB There is sequence 1, 12, 123, 1234, ..., 12345678910, ... . Given first N elements of that sequence. You must d原创 2014-11-06 02:40:01 · 834 阅读 · 0 评论 -
106. The equation
106. The equation time limit per test: 0.25 sec. memory limit per test: 4096 KB There is an equation ax + by + c = 0. Given a,b,c,x1,x2,y1,y2 you must determine, how many integer roots of this原创 2014-11-08 00:32:50 · 926 阅读 · 0 评论 -
103. Traffic Lights
103. Traffic LightsTime limit per test: 0.25 second(s)Memory limit: 4096 kilobytesinput: standardoutput: standardIn the city of Dingilville the traffic is arranged in an unus原创 2014-11-06 02:36:50 · 1102 阅读 · 0 评论 -
108. Self-numbers 2
108. Self-numbers 2 time limit per test: 0.5 sec. memory limit per test: 4096 KB In 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. For any pos原创 2014-11-08 20:27:45 · 878 阅读 · 0 评论 -
SGU 一道一道来吧
101. Domino原创 2014-11-06 12:57:28 · 716 阅读 · 0 评论 -
112. a^b-b^a
112. ab-ba time limit per test: 0.25 sec. memory limit per test: 4096 KB You are given natural numbers a and b. Find ab-ba.InputInput contains numbers a and b (1≤a,b≤100).原创 2014-11-10 16:36:09 · 757 阅读 · 0 评论 -
110. Dungeon
110. Dungeon time limit per test: 0.25 sec. memory limit per test: 4096 KB The mission of space explorers found on planet M the vast dungeon. One of the dungeon halls is fill with the原创 2014-11-10 16:25:07 · 613 阅读 · 0 评论 -
101. Domino
101. Dominotime limit per test: 0.25 sec. memory limit per test: 4096 KB Dominoes – game played with small, rectangular blocks of wood or other material, each identified by a number of原创 2014-11-06 02:28:44 · 1021 阅读 · 0 评论