Problem 1002

Total Submission(s)984
User Solve288
Accepted288
Presentation Error84
Wrong Answer398
Runtime Error15
Compilation Error13
Time Limit Exceeded90
Memory Limit Exceeded2
Ouput Limit Exceeded0
System Error0
Rank Author Time Memory Language Submit Time
1 Double991 46MS 1940K GNU C++ 2016-10-01 19:22:05
2 Tommyr7 78MS 4456K Object Pascal 2016-10-01 20:29:13
3 913106840144 109MS 1680K GNU C++ 2016-10-01 20:04:02
4 jackson945772622 109MS 1692K GNU C++ 2016-10-01 19:44:29
5 Linying279 109MS 2064K GNU C++ 2016-10-01 20:26:17
6 xiaoyuanan2000 124MS 1504K GNU C++ 2016-10-01 20:03:20
7 154115062028 124MS 1644K GNU C++ 2016-10-01 20:04:50
8 destiny546 124MS 2068K GNU C++ 2016-10-01 19:22:34
9 1025610256 124MS 2192K GNU C++ 2016-10-01 19:32:33
10 w446506278 124MS 2360K GNU C++ 2016-10-01 19:24:05
11 JeremyGuo 124MS 2468K GNU C++ 2016-10-01 19:48:23
12 imcoding 124MS 2480K GNU C++ 2016-10-01 20:04:19
13 ytzytz 124MS 2488K GNU C++ 2016-10-01 19:28:05
14 ACArthur 124MS 2496K GNU C++ 2016-10-01 20:34:50
15 suda1507402086 124MS 2504K GNU C++ 2016-10-01 19:42:38
16 cool_news 124MS 2860K GNU C++ 2016-10-01 20:05:30
17 wxh010910 124MS 2872K GNU C++ 2016-10-01 20:45:03
18 zhujiawei 124MS 2896K GNU C++ 2016-10-01 19:58:16
19 cszdlt 124MS 2952K GNU C++ 2016-10-01 20:22:13
20 Moiezen 124MS 3064K GNU C++ 2016-10-01 19:14:47
21 frank_c1 124MS 3064K GNU C++ 2016-10-01 19:38:47
22 hahatianx 124MS 3272K GNU C++ 2016-10-01 19:39:28
23 yveh1999 124MS 3340K GNU C++ 2016-10-01 20:08:27
24 carlyu99 124MS 4044K GNU C++ 2016-10-01 19:24:11
25 MrYXz2016 140MS 1408K GNU C++ 2016-10-01 19:58:57
26 Liujingrui 140MS 1528K GNU C++ 2016-10-01 20:10:55
27 YJaiLSY 140MS 1672K GNU C++ 2016-10-01 20:09:47
28 qinchu 140MS 1724K GNU C++ 2016-10-01 19:55:26
29 qunty02 140MS 1740K GNU C++ 2016-10-01 19:47:18
30 zyoohv 140MS 1888K GNU C++ 2016-10-01 19:51:46
31 TheSkyFucker 140MS 1904K GNU C++ 2016-10-01 19:29:20
32 wjhuihui 140MS 1908K GNU C++ 2016-10-01 20:40:20
33 GaryJ 140MS 2072K GNU C++ 2016-10-01 19:45:26
34 1507010325 140MS 2076K GNU C++ 2016-10-01 19:44:46
35 422206217 140MS 2120K GNU C++ 2016-10-01 19:32:20
36 chenshanxuan 140MS 2296K GNU C++ 2016-10-01 19:54:31
37 ChopsticksAN 140MS 2384K GNU C++ 2016-10-01 20:03:08
38 qzqqianzheqi 140MS 2416K GNU C++ 2016-10-01 19:38:15
39 YGPPPP 140MS 2476K GNU C++ 2016-10-01 20:25:56
40 neptunia 140MS 2480K GNU C++ 2016-10-01 19:37:08
41 MrBirdatbc 140MS 2524K GNU C++ 2016-10-01 20:00:04
42 20131364 140MS 2580K GNU C++ 2016-10-01 19:54:31
43 yfzcsc 140MS 2716K GNU C++ 2016-10-01 20:23:18
44 sublimation 140MS 2732K GNU C++ 2016-10-01 20:22:12
45 2014339960031 140MS 2892K GNU C++ 2016-10-01 19:45:18
46 zhujiawei2 140MS 2900K GNU C++ 2016-10-01 19:57:58
47 Burglar 140MS 2908K GNU C++ 2016-10-01 20:55:16
48 541407040105 140MS 2920K GNU C++ 2016-10-01 20:00:35
49 14041121 140MS 2972K GNU C++ 2016-10-01 20:29:40
50 icedreamer 140MS 3064K GNU C++ 2016-10-01 19:30:41
51 blutrex 140MS 5216K GNU C++ 2016-10-01 20:48:42
52 ziliuziliu 140MS 5228K GNU C++ 2016-10-01 20:32:40
53 liangjs 140MS 7848K GNU C++ 2016-10-01 19:57:32
54 CCTVhq 156MS 1492K GNU C++ 2016-10-01 19:16:01
55 1135854901 156MS 1664K GNU C++ 2016-10-01 19:44:34
56 chinajxncbill 156MS 1816K GNU C++ 2016-10-01 19:48:30
57 1823376647WYK 156MS 1900K GNU C++ 2016-10-01 20:44:28
58 xiaozhadanhaha 156MS 1904K GNU C++ 2016-10-01 19:49:40
59 liulishenshe 156MS 2104K GNU C++ 2016-10-01 19:34:09
60 liuyuhong 156MS 2120K GNU C++ 2016-10-01 19:38:53
61 ksws0305545 156MS 2136K GNU C++ 2016-10-01 20:11:45
62 NewDrivers 156MS 2196K GNU C++ 2016-10-01 19:18:00
63 5120152635 156MS 2292K GNU C++ 2016-10-01 20:31:18
64 smallnumber 156MS 2416K GNU C++ 2016-10-01 19:38:02
65 Chenhongkan 156MS 2464K GNU C++ 2016-10-01 19:36:10
66 14055121 156MS 2468K GNU C++ 2016-10-01 20:36:12
67 mxzf0213 156MS 2476K GNU C++ 2016-10-01 19:40:37
68 w470561734 156MS 2480K GNU C++ 2016-10-01 19:28:58
69 maijunjie 156MS 2508K GNU C++ 2016-10-01 19:29:04
70 FhyTan 156MS 2572K GNU C++ 2016-10-01 19:26:51
71 601442991 156MS 2580K GNU C++ 2016-10-01 20:04:36
72 use_nature 156MS 2604K GNU C++ 2016-10-01 19:37:51
73 icekernel 156MS 2612K GNU C++ 2016-10-01 20:39:32
74 hsfz15mzl 156MS 2692K GNU C++ 2016-10-01 20:16:27
75 scpointer 156MS 2772K GNU C++ 2016-10-01 19:31:17
76 moorhsum 156MS 2840K GNU C++ 2016-10-01 19:15:35
77 taogelose 156MS 2892K GNU C++ 2016-10-01 20:14:21
78 zchahaha 156MS 2964K GNU C++ 2016-10-01 19:47:12
79 teddywang 156MS 2964K GNU C++ 2016-10-01 19:50:06
80 lcisajuruo 156MS 3048K GNU C++ 2016-10-01 19:53:37
81 KonjakJuruo 156MS 3176K GNU C++ 2016-10-01 20:26:02
82 takio 156MS 3260K GNU C++ 2016-10-01 19:11:35
83 mk135791 156MS 3648K GNU C++ 2016-10-01 20:38:22
84 scx135 156MS 3660K GNU C++ 2016-10-01 20:46:56
85 634579757 156MS 4068K GNU C++ 2016-10-01 19:29:39
86 Spylft 156MS 8192K GNU C++ 2016-10-01 19:47:43
87 mostshy 171MS 1412K GNU C++ 2016-10-01 19:24:59
88 worldwideD 171MS 2044K GNU C++ 2016-10-01 19:31:33
89 Acorasick 171MS 2060K GNU C++ 2016-10-01 19:57:39
90 di4CoveRy 171MS 2084K GNU C++ 2016-10-01 19:55:50
91 75736522 171MS 2292K GNU C++ 2016-10-01 19:21:00
92 80803716 171MS 2452K GNU C++ 2016-10-01 19:34:41
93 2015329620069 171MS 2468K GNU C++ 2016-10-01 19:50:30
94 touyi419 171MS 2500K GNU C++ 2016-10-01 20:45:31
95 LIN452 171MS 2848K GNU C++ 2016-10-01 19:42:28
96 snowy_smile 171MS 2864K GNU C++ 2016-10-01 19:45:01
97 wtw666 171MS 2864K GNU C++ 2016-10-01 19:49:04
98 QAQTAT123 171MS 2868K GNU C++ 2016-10-01 19:32:32
99 gdufe_yongfa 171MS 2880K GNU C++ 2016-10-01 19:54:55
100 huangyanhao 171MS 2892K GNU C++ 2016-10-01 20:12:10
101 yuiouiop 171MS 2892K GNU C++ 2016-10-01 20:31:43
102 hnust_zhaozhixuan 171MS 2896K GNU C++ 2016-10-01 19:38:03
103 Leibniz_Zhang 171MS 3136K GNU C++ 2016-10-01 20:00:34
104 starlightroad2 171MS 4068K GNU C++ 2016-10-01 20:19:49
105 wangqiufeng 171MS 4416K GNU C++ 2016-10-01 20:25:04
106 LightGHLi 171MS 4640K GNU C++ 2016-10-01 20:29:03
107 sjtsjt 187MS 1996K GNU C++ 2016-10-01 19:34:53
108 AChikan 187MS 2064K GNU C++ 2016-10-01 20:06:12
109 sz1231 187MS 2212K GNU C++ 2016-10-01 19:37:36
110 Menci 187MS 2284K GNU C++ 2016-10-01 20:08:04
111 hust_avenger 187MS 2300K GNU C++ 2016-10-01 19:53:27
112 20141154 187MS 2304K GNU C++ 2016-10-01 19:17:41
113 luras_oil2 187MS 2344K GNU C++ 2016-10-01 19:59:19
114 kxjzxc 187MS 2412K GNU C++ 2016-10-01 20:28:21
115 KyleYoung 187MS 2440K GNU C++ 2016-10-01 19:19:03
116 suiyuan2009 187MS 2456K GNU C++ 2016-10-01 19:22:38
117 154215091042 187MS 2456K GNU C++ 2016-10-01 20:47:40
118 xiper 187MS 2460K GNU C++ 2016-10-01 19:21:17
119 mrazer 187MS 2460K GNU C++ 2016-10-01 19:56:37
120 2014300227 187MS 2464K GNU C++ 2016-10-01 19:34:20
121 bjlfzs 187MS 2476K GNU C++ 2016-10-01 19:49:17
122 542395329 187MS 2480K GNU C++ 2016-10-01 19:28:26
123 Jinhangyu 187MS 2500K GNU C++ 2016-10-01 19:21:56
124 me999 187MS 2512K GNU C++ 2016-10-01 19:22:28
125 hnqw1214 187MS 2564K GNU C++ 2016-10-01 19:34:45
126 jiedai 187MS 2844K GNU C++ 2016-10-01 20:38:04
127 144215 187MS 2848K GNU C++ 2016-10-01 20:02:33
128 lsltbh 187MS 2852K GNU C++ 2016-10-01 20:16:27
129 crazycloud 187MS 3224K GNU C++ 2016-10-01 20:22:03
130 wpfwpf 187MS 3468K GNU C++ 2016-10-01 19:59:33
131 fywfyw 187MS 5220K GNU C++ 2016-10-01 19:19:46
132 hnust_xiaochaoqun 187MS 8328K GNU C++ 2016-10-01 19:44:53
133 PureWhite 202MS 2000K GNU C++ 2016-10-01 20:11:12
134 huohuohuo 202MS 2068K GNU C++ 2016-10-01 19:52:23
135 suda1527403057 202MS 2228K GNU C++ 2016-10-01 20:07:28
136 DMoonMMD 202MS 2456K GNU C++ 2016-10-01 19:58:58
137 404406 202MS 2476K GNU C++ 2016-10-01 19:31:05
138 _ilovelife 202MS 2480K GNU C++ 2016-10-01 19:21:06
139 sqc123 202MS 2480K GNU C++ 2016-10-01 19:56:43
140 chenjiaqi1 202MS 2500K GNU C++ 2016-10-01 19:59:40
141 julyc 202MS 2860K GNU C++ 2016-10-01 20:58:22
142 GOGOACM 202MS 2876K GNU C++ 2016-10-01 19:58:12
143 ounijiang 202MS 2920K GNU C++ 2016-10-01 20:50:54
144 RaAlGhul 202MS 2980K GNU C++ 2016-10-01 20:26:14
145 NEU20133823 202MS 8060K GNU C++ 2016-10-01 19:35:39
146 clogos 202MS 8152K GNU C++ 2016-10-01 19:57:11
147 Irisviel_von_Einzber 202MS 8576K GNU C++ 2016-10-01 19:51:00
148 jkrs 218MS 1676K GNU C++ 2016-10-01 19:34:48
149 abc1234567 218MS 1832K GNU C++ 2016-10-01 19:43:34
150 totziens 218MS 1900K GNU C++ 2016-10-01 19:22:55
151 shengtao101 218MS 2112K GNU C++ 2016-10-01 20:20:40
152 HOOCCOOH 218MS 2368K GNU C++ 2016-10-01 19:18:27
153 Baigker 218MS 2444K GNU C++ 2016-10-01 20:55:26
154 bblss123 218MS 2488K GNU C++ 2016-10-01 19:21:42
155 1402806685 218MS 2488K GNU C++ 2016-10-01 20:05:31
156 candidate19 218MS 2616K GNU C++ 2016-10-01 20:17:12
157 basasuya 218MS 2856K GNU C++ 2016-10-01 19:31:43
158 354649146 218MS 2864K GNU C++ 2016-10-01 19:12:07
159 sjj118 218MS 2868K GNU C++ 2016-10-01 20:46:23
160 1164056516 218MS 3284K GNU C++ 2016-10-01 19:47:04
161 xiaocainiao123 218MS 3332K GNU C++ 2016-10-01 19:53:13
162 liujunhao 234MS 2280K GNU C++ 2016-10-01 19:39:55
163 weilehuozhe1 234MS 2448K GNU C++ 2016-10-01 19:23:43
164 yzqfire 234MS 2448K GNU C++ 2016-10-01 19:43:35
165 970134100 234MS 2472K GNU C++ 2016-10-01 19:35:09
166 CHNFTQ 234MS 2684K GNU C++ 2016-10-01 20:22:58
167 kaffuchino 234MS 2864K GNU C++ 2016-10-01 19:14:56
168 2990061293 234MS 2868K GNU C++ 2016-10-01 19:27:12
169 847891840 234MS 2920K GNU C++ 2016-10-01 20:07:40
170 nudun001 234MS 3644K GNU C++ 2016-10-01 20:31:21
171 shanest 234MS 4080K GNU C++ 2016-10-01 19:48:00
172 xx969496161 249MS 1504K GNU C++ 2016-10-01 19:35:18
173 2013300262 249MS 1948K GNU C++ 2016-10-01 20:00:18
174 yylidiw 249MS 2284K GNU C++ 2016-10-01 20:02:22
175 1835464296 249MS 2440K GNU C++ 2016-10-01 19:25:21
176 1515shibowen 249MS 2492K GNU C++ 2016-10-01 20:27:44
177 lza11111 249MS 2684K GNU C++ 2016-10-01 19:50:34
178 Sengxian 249MS 3332K GNU C++ 2016-10-01 19:23:17
179 PbTfcLx 249MS 5428K GNU C++ 2016-10-01 20:32:56
180 poursoul 249MS 10880K GNU C++ 2016-10-01 19:23:47
181 yuanxinyu 265MS 2364K GNU C++ 2016-10-01 20:08:26
182 a645124937 265MS 2468K GNU C++ 2016-10-01 19:23:29
183 1403mashaonan 265MS 2496K GNU C++ 2016-10-01 19:43:03
184 icheckit 265MS 2860K GNU C++ 2016-10-01 19:17:03
185 14184134 265MS 9728K GNU C++ 2016-10-01 19:38:24
186 blackkitty 280MS 2068K GNU C++ 2016-10-01 20:11:06
187 swm_sxt 280MS 2284K GNU C++ 2016-10-01 19:59:18
188 lbz007 280MS 3376K GNU C++ 2016-10-01 20:30:31
189 ht35268 280MS 9136K GNU C++ 2016-10-01 20:54:08
190 452181625 296MS 2084K GNU C++ 2016-10-01 20:01:42
191 xjjfly 296MS 2472K GNU C++ 2016-10-01 19:21:10
192 529127 296MS 2480K GNU C++ 2016-10-01 20:10:54
193 Yangssenleo 296MS 2816K GNU C++ 2016-10-01 20:42:19
194 amusement 296MS 2864K GNU C++ 2016-10-01 20:09:39
195 EnderGZM 296MS 3340K GNU C++ 2016-10-01 19:41:04
196 hutczht 312MS 1884K GNU C++ 2016-10-01 20:37:25
197 forever97 312MS 1896K GNU C++ 2016-10-01 19:24:50
198 dwtfukgv 312MS 2168K GNU C++ 2016-10-01 20:25:48
199 G_lory 312MS 2480K GNU C++ 2016-10-01 20:23:12
200 DGL123 312MS 2856K GNU C++ 2016-10-01 19:25:00
201 imwtq 312MS 2872K GNU C++ 2016-10-01 19:15:12
202 Excited 312MS 6044K GNU C++ 2016-10-01 20:10:11
203 Starxy 327MS 2056K GNU C++ 2016-10-01 20:08:09
204 SqwrIwy 327MS 2492K GNU C++ 2016-10-01 19:12:58
205 a540867841 327MS 2876K GNU C++ 2016-10-01 20:19:58
206 keydianli 327MS 14052K GNU C++ 2016-10-01 19:32:13
207 14310520317 327MS 17348K GNU C++ 2016-10-01 20:17:52
208 hutcWanglf 343MS 1132K GNU C++ 2016-10-01 19:55:05
209 chenguanting 343MS 2492K GNU C++ 2016-10-01 19:13:30
210 w86065256 343MS 2876K GNU C++ 2016-10-01 19:30:57
211 jp121039 343MS 6124K GNU C++ 2016-10-01 19:55:52
212 mcginn 343MS 18384K GNU C++ 2016-10-01 19:48:48
213 immortal_hx 343MS 18544K GNU C++ 2016-10-01 19:45:35
214 lxkyes 358MS 11728K GNU C++ 2016-10-01 19:25:42
215 146500045 374MS 2480K GNU C++ 2016-10-01 20:26:54
216 a1s4z5 374MS 2624K GNU C++ 2016-10-01 19:29:14
217 linlinsong 405MS 1912K GNU C++ 2016-10-01 20:13:01
218 NYOJ_TEMP 405MS 2008K GNU C++ 2016-10-01 20:07:57
219 szszsz 405MS 2236K GNU C++ 2016-10-01 19:22:29
220 yiyi95 405MS 2344K GNU C++ 2016-10-01 19:47:31
221 2442932358 405MS 2756K GNU C++ 2016-10-01 19:34:49
222 huriyang 405MS 9776K GNU C++ 2016-10-01 19:42:13
223 zzz805 421MS 2084K GNU C++ 2016-10-01 19:43:28
224 jinlingxiao 421MS 2280K GNU C++ 2016-10-01 19:56:12
225 15068475758 421MS 2284K GNU C++ 2016-10-01 20:32:10
226 missever 421MS 2288K GNU C++ 2016-10-01 19:32:02
227 1004146124 421MS 2300K GNU C++ 2016-10-01 19:58:22
228 lwq12138 421MS 2472K GNU C++ 2016-10-01 19:23:19
229 kopyh 421MS 2476K GNU C++ 2016-10-01 19:39:55
230 hnust_chenhualong 421MS 7428K GNU C++ 2016-10-01 20:57:47
231 dpppBR 436MS 1912K GNU C++ 2016-10-01 19:27:20
232 manyfun711 436MS 2304K GNU C++ 2016-10-01 19:58:13
233 xx315 436MS 2768K GNU C++ 2016-10-01 20:33:46
234 cxhscst2 436MS 2852K GNU C++ 2016-10-01 20:05:33
235 shiqusome 436MS 2876K GNU C++ 2016-10-01 19:25:50
236 liarchbc 452MS 2064K GNU C++ 2016-10-01 20:08:54
237 614563449 452MS 22832K GNU C++ 2016-10-01 20:12:42
238 chenhongzhen 468MS 2348K GNU C++ 2016-10-01 20:14:20
239 15082135 483MS 1892K GNU C++ 2016-10-01 19:47:17
240 hitwh140410332 483MS 2076K GNU C++ 2016-10-01 20:00:06
241 20131299 499MS 2292K GNU C++ 2016-10-01 20:32:05
242 UnionFind 499MS 2476K GNU C++ 2016-10-01 19:41:54
243 cc1143556730 514MS 1776K GNU C++ 2016-10-01 19:37:33
244 whereispoi 514MS 2288K GNU C++ 2016-10-01 19:42:25
245 YummyJay 514MS 2452K GNU C++ 2016-10-01 19:21:05
246 yellowjianok 530MS 2112K GNU C++ 2016-10-01 20:53:47
247 heroming3618 530MS 2308K GNU C++ 2016-10-01 19:25:39
248 1407010221 546MS 2564K GNU C++ 2016-10-01 20:11:58
249 201531107026 546MS 2688K GNU C++ 2016-10-01 20:40:17
250 Picasso 561MS 1884K GNU C++ 2016-10-01 20:27:23
251 zhy1887996acm 561MS 1896K GNU C++ 2016-10-01 20:56:35
252 schloss 561MS 2588K GNU C++ 2016-10-01 19:29:38
253 2014551437 577MS 1904K GNU C++ 2016-10-01 19:59:37
254 775479709 577MS 1988K GNU C++ 2016-10-01 19:40:11
255 henuacm 577MS 2080K GNU C++ 2016-10-01 20:18:44
256 YueHuo 577MS 2092K GNU C++ 2016-10-01 20:11:44
257 Wahh_1314 577MS 2348K GNU C++ 2016-10-01 19:37:25
258 yohaha 592MS 2028K GNU C++ 2016-10-01 19:20:55
259 5120152577 592MS 2288K GNU C++ 2016-10-01 20:52:16
260 Tak3n 592MS 4416K GNU C++ 2016-10-01 19:24:46
261 Hanzawa 592MS 9340K GNU C++ 2016-10-01 20:28:12
262 tryone 608MS 2072K GNU C++ 2016-10-01 19:51:32
263 beMaster 608MS 2164K GNU C++ 2016-10-01 19:55:35
264 x73 608MS 3200K GNU C++ 2016-10-01 20:59:55
265 2014339960033 624MS 2232K GNU C++ 2016-10-01 19:41:55
266 2737046408 639MS 2056K GNU C++ 2016-10-01 19:52:11
267 chilumanxi 639MS 2072K GNU C++ 2016-10-01 19:52:52
268 yangzhiye 655MS 1732K GNU C++ 2016-10-01 20:23:00
269 nucllzhh 655MS 2244K GNU C++ 2016-10-01 20:59:55
270 wemadefox 655MS 2376K GNU C++ 2016-10-01 19:45:21
271 jiangmingbuaa 670MS 10136K Java 2016-10-01 20:23:13
272 WonderMouse 670MS 11640K Java 2016-10-01 20:19:36
273 eulerlee 702MS 2828K GNU C++ 2016-10-01 19:59:24
274 541407040158 717MS 2024K GNU C++ 2016-10-01 19:53:06
275 lihaijie 780MS 1884K GNU C++ 2016-10-01 20:25:51
276 154115061002 780MS 1948K GNU C++ 2016-10-01 19:46:40
277 Kanosword 858MS 2056K GNU C++ 2016-10-01 19:53:59
278 tangpeihua 858MS 2584K GNU C++ 2016-10-01 20:55:11
279 20131002871 873MS 2404K GNU C++ 2016-10-01 20:27:41
280 wireless 904MS 1984K GNU C++ 2016-10-01 19:56:31
281 doubleegg 904MS 2192K GNU C++ 2016-10-01 19:57:24
282 chengchunyang 936MS 1812K GNU C++ 2016-10-01 20:56:06
283 lambdacat 951MS 2092K GNU C++ 2016-10-01 20:42:40
284 12122143 967MS 2500K GNU C++ 2016-10-01 19:34:41
285 songtoy 967MS 2576K GNU C++ 2016-10-01 20:27:54
286 gdw15058111 982MS 2480K GNU C++ 2016-10-01 19:32:07
287 wangbinxing 982MS 2512K GNU C++ 2016-10-01 19:58:09
288 yuyanggo 998MS 1912K GNU C++ 2016-10-01 20:55:24