SGU
文章平均质量分 68
SGUOJ上的部分题解
CHEBEATER
中二病晚期o(^▽^)o
展开
-
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 评论 -
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 评论 -
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 评论 -
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 评论 -
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 评论 -
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 评论 -
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 评论 -
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 评论 -
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 评论