Problem 1004

Total Submission(s)671
User Solve249
Accepted249
Presentation Error0
Wrong Answer87
Runtime Error37
Compilation Error44
Time Limit Exceeded225
Memory Limit Exceeded10
Ouput Limit Exceeded17
System Error0
Rank Author Time Memory Language Submit Time
1 NanoApe 0MS 1144K GNU C++ 2016-03-12 19:46:11
2 1412180203 0MS 1152K GNU C++ 2016-03-12 20:19:03
3 maxdumbledore 0MS 1152K GNU C++ 2016-03-12 20:19:24
4 tomjerry213 0MS 1152K GNU C++ 2016-03-12 20:20:08
5 forever97 0MS 1152K GNU C++ 2016-03-12 20:38:49
6 yjqqqaq 0MS 1156K GNU C++ 2016-03-12 19:32:17
7 Moiezen 0MS 1156K GNU C++ 2016-03-12 19:36:43
8 returnzoo 0MS 1156K GNU C++ 2016-03-12 19:37:42
9 lbn187 0MS 1156K GNU C++ 2016-03-12 19:37:59
10 qzhqzh 0MS 1156K GNU C++ 2016-03-12 19:43:02
11 starli 0MS 1156K GNU C++ 2016-03-12 19:52:56
12 yyhsdrc 0MS 1156K GNU C++ 2016-03-12 19:55:55
13 KyleYoung 0MS 1156K GNU C++ 2016-03-12 20:04:05
14 yyuyang3 0MS 1156K GNU C++ 2016-03-12 20:06:31
15 swust20131737 0MS 1156K GNU C++ 2016-03-12 20:12:50
16 ShinFeb 0MS 1156K GNU C++ 2016-03-12 20:16:27
17 98_Ren 0MS 1156K GNU C++ 2016-03-12 20:19:08
18 w470561734 0MS 1156K GNU C++ 2016-03-12 20:21:09
19 20131364 0MS 1156K GNU C++ 2016-03-12 20:49:55
20 20143773 0MS 1156K GNU C++ 2016-03-12 20:56:07
21 tangyuhao 0MS 1160K GNU C++ 2016-03-12 19:33:32
22 zms1999 0MS 1160K GNU C++ 2016-03-12 19:35:38
23 massimodong 0MS 1160K GNU C++ 2016-03-12 20:03:41
24 zscloverinyo 0MS 1160K GNU C++ 2016-03-12 20:07:31
25 14041121 0MS 1160K GNU C++ 2016-03-12 20:34:37
26 lovesteak 0MS 1160K GNU C++ 2016-03-12 20:48:02
27 NKWBTB 0MS 1160K GNU C++ 2016-03-12 20:54:54
28 luras_oil2 0MS 1176K GNU C++ 2016-03-12 19:58:44
29 wangyurzee7 0MS 1200K Visual C++ 2016-03-12 19:24:02
30 1742340137 0MS 1200K Visual C++ 2016-03-12 20:09:00
31 liujunhao 0MS 1204K GNU C++ 2016-03-12 19:51:26
32 isdkfj 0MS 1208K Visual C++ 2016-03-12 19:40:24
33 subconscious 0MS 1208K Visual C++ 2016-03-12 20:16:25
34 syswow128 0MS 1208K Visual C++ 2016-03-12 20:18:32
35 galigeigei 0MS 1208K Visual C++ 2016-03-12 20:44:31
36 5120142829 0MS 1208K Visual C++ 2016-03-12 20:51:04
37 sjj118 0MS 1208K Visual C++ 2016-03-12 20:59:43
38 Death_Knight_DK 0MS 1212K Visual C++ 2016-03-12 19:56:16
39 ZYF1024 0MS 1212K Visual C++ 2016-03-12 20:05:22
40 TheSkyFucker 0MS 1212K Visual C++ 2016-03-12 20:09:47
41 Aliange 0MS 1236K GNU C++ 2016-03-12 20:00:37
42 orzkpm 0MS 1240K GNU C++ 2016-03-12 19:46:33
43 hfengzhi 0MS 1240K GNU C++ 2016-03-12 20:21:04
44 Hillan 0MS 1244K GNU C++ 2016-03-12 19:47:24
45 OIRed2015 0MS 1244K GNU C++ 2016-03-12 19:50:15
46 xiper 0MS 1244K GNU C++ 2016-03-12 20:05:35
47 632075803 0MS 1244K GNU C++ 2016-03-12 20:57:05
48 TooNaive 0MS 1248K GNU C++ 2016-03-12 19:35:08
49 613 0MS 1248K GNU C++ 2016-03-12 19:48:13
50 modfanGG 0MS 1252K GNU C++ 2016-03-12 19:42:57
51 10132510126 0MS 1252K GNU C++ 2016-03-12 20:30:35
52 5120141487 0MS 1252K GNU C++ 2016-03-12 20:43:24
53 422206217 0MS 1252K GNU C++ 2016-03-12 20:46:09
54 xuhaike 0MS 1256K GNU C++ 2016-03-12 19:39:26
55 house1993 0MS 1256K GNU C++ 2016-03-12 19:57:55
56 hdu_xian 0MS 1256K GNU C++ 2016-03-12 19:58:35
57 wzq529036251 0MS 1256K GNU C++ 2016-03-12 20:11:43
58 zufe_wrz 0MS 1256K Visual C++ 2016-03-12 20:12:55
59 20135836 0MS 1256K GNU C++ 2016-03-12 20:19:43
60 mpxsuyzmk3007 0MS 1256K GNU C++ 2016-03-12 20:48:38
61 kuangbin 0MS 1260K GNU C++ 2016-03-12 19:38:13
62 xjjfly 0MS 1260K GNU C++ 2016-03-12 20:14:16
63 mycodebattle 0MS 1272K GNU C++ 2016-03-12 20:38:00
64 bblss123 0MS 1288K GNU C++ 2016-03-12 20:15:25
65 davidlee1999WTK 0MS 1292K GNU C++ 2016-03-12 20:13:18
66 underliner 0MS 1296K GNU C++ 2016-03-12 20:21:50
67 qsqx 0MS 1296K GNU C++ 2016-03-12 20:54:19
68 geng4512 0MS 1300K GNU C++ 2016-03-12 19:55:06
69 shdut 0MS 1412K Visual C++ 2016-03-12 20:32:34
70 EJQ 15MS 1152K GNU C++ 2016-03-12 19:57:12
71 nifengfly 15MS 1152K GNU C++ 2016-03-12 20:34:26
72 StopRaining 15MS 1156K GNU C++ 2016-03-12 19:54:37
73 mstczuo 15MS 1156K GNU C++ 2016-03-12 19:59:18
74 acm1730 15MS 1156K GNU C++ 2016-03-12 20:17:53
75 DTDTDT 15MS 1156K GNU C++ 2016-03-12 20:29:33
76 qzqqianzheqi 15MS 1156K GNU C++ 2016-03-12 20:35:41
77 dnvtmf 15MS 1160K GNU C++ 2016-03-12 19:47:46
78 lwj1994 15MS 1160K GNU C++ 2016-03-12 20:02:09
79 gu_castle 15MS 1160K GNU C++ 2016-03-12 20:11:58
80 ndsllhs6000 15MS 1160K GNU C++ 2016-03-12 20:39:52
81 occult 15MS 1208K GNU C++ 2016-03-12 20:16:14
82 Zarxdy34 15MS 1212K Visual C++ 2016-03-12 20:39:19
83 Rainbow6174 15MS 1244K GNU C++ 2016-03-12 20:25:37
84 a1s4z5 15MS 1248K GNU C++ 2016-03-12 19:42:06
85 snowy_smile 15MS 1248K GNU C++ 2016-03-12 19:57:42
86 zzj2008 15MS 1248K GNU C++ 2016-03-12 20:13:18
87 qaz69328922 15MS 1248K GNU C++ 2016-03-12 20:16:43
88 beMaster 15MS 1248K GNU C++ 2016-03-12 20:16:52
89 Burglar 15MS 1248K GNU C++ 2016-03-12 20:53:03
90 flagflag 15MS 1252K GNU C++ 2016-03-12 19:43:09
91 mps2000 15MS 1252K GNU C++ 2016-03-12 20:04:56
92 SilChen 15MS 1252K GNU C++ 2016-03-12 20:15:06
93 acmnode 15MS 1252K GNU C++ 2016-03-12 20:37:41
94 yuiouiop 15MS 1256K GNU C++ 2016-03-12 20:20:11
95 RoyYuan 15MS 1264K Visual C++ 2016-03-12 20:05:15
96 zlmzlm1996 15MS 1264K Visual C++ 2016-03-12 20:13:33
97 zearom32 15MS 1264K Visual C++ 2016-03-12 20:14:24
98 1292871202 15MS 1264K Visual C++ 2016-03-12 20:19:51
99 missever 15MS 1264K Visual C++ 2016-03-12 20:25:33
100 Shihaosen 15MS 1264K Visual C++ 2016-03-12 20:34:43
101 chilumanxi 15MS 1268K Visual C++ 2016-03-12 20:31:36
102 ws_fqk 15MS 1272K GNU C++ 2016-03-12 20:15:41
103 ihdijk 15MS 1288K GNU C++ 2016-03-12 20:37:57
104 takio 15MS 1292K GNU C++ 2016-03-12 19:46:23
105 qscqesze 15MS 1292K GNU C++ 2016-03-12 19:56:59
106 cgy4ever 15MS 1296K GNU C++ 2016-03-12 19:34:00
107 G20171632 15MS 1296K GNU C++ 2016-03-12 19:55:52
108 lxkyes 15MS 1312K GNU C++ 2016-03-12 20:16:33
109 imwtq 15MS 1316K Visual C++ 2016-03-12 19:41:37
110 yourgrace 31MS 1156K GNU C++ 2016-03-12 20:56:35
111 gaokepan 31MS 1204K Visual C++ 2016-03-12 19:46:01
112 iwtwiioi 31MS 1236K GNU C++ 2016-03-12 20:01:55
113 czllgzmzl 31MS 1244K GNU C++ 2016-03-12 19:28:48
114 131120182 31MS 1248K GNU C++ 2016-03-12 20:48:06
115 20131002871 31MS 1248K GNU C++ 2016-03-12 20:55:50
116 MottoX 31MS 1256K GNU C++ 2016-03-12 20:14:30
117 wintowanti 31MS 1276K GNU C++ 2016-03-12 20:36:28
118 YCuangWhen 31MS 1284K GNU C++ 2016-03-12 20:37:55
119 14110103101 31MS 1288K GNU C++ 2016-03-12 20:11:25
120 1115482866 31MS 1292K GNU C++ 2016-03-12 19:50:57
121 ranwen 31MS 1292K GNU C++ 2016-03-12 19:57:21
122 huie 31MS 1292K GNU C++ 2016-03-12 20:14:24
123 1007108223 31MS 1292K GNU C++ 2016-03-12 20:32:51
124 U201413861 31MS 1300K GNU C++ 2016-03-12 20:59:56
125 15349121 31MS 1304K GNU C++ 2016-03-12 20:15:28
126 hoccz 31MS 1304K GNU C++ 2016-03-12 20:27:48
127 20134947 31MS 1304K GNU C++ 2016-03-12 20:44:33
128 2592528761 31MS 1308K GNU C++ 2016-03-12 20:33:31
129 Chazzaa 31MS 1308K GNU C++ 2016-03-12 20:58:12
130 opas 31MS 1312K GNU C++ 2016-03-12 19:54:32
131 842367032 31MS 1312K GNU C++ 2016-03-12 20:36:51
132 AshCrimson 31MS 1316K GNU C++ 2016-03-12 19:40:32
133 004 31MS 1336K GNU C++ 2016-03-12 20:41:30
134 wxy_z 46MS 1276K GNU C++ 2016-03-12 19:37:14
135 squee_spoon 46MS 1304K GNU C++ 2016-03-12 20:11:40
136 roooooo 46MS 1348K GNU C++ 2016-03-12 20:53:38
137 wkl136080 62MS 1276K GNU C++ 2016-03-12 20:24:34
138 1771203081 62MS 1304K GNU C++ 2016-03-12 20:59:29
139 HarryGuo2012 124MS 1232K GNU C++ 2016-03-12 20:11:23
140 a645124937 140MS 1236K GNU C++ 2016-03-12 19:39:32
141 504441036 156MS 1144K GNU C++ 2016-03-12 19:48:32
142 destiny546 156MS 1192K Visual C++ 2016-03-12 20:32:40
143 1407010218 156MS 1236K GNU C++ 2016-03-12 20:01:34
144 faebdc 156MS 1280K GNU C++ 2016-03-12 19:27:26
145 Wahh_1314 171MS 1136K GNU C++ 2016-03-12 20:13:53
146 swust_20141014 171MS 1136K GNU C++ 2016-03-12 20:14:17
147 ImpcO0 171MS 1140K GNU C++ 2016-03-12 20:30:04
148 kalili 171MS 1180K Visual C++ 2016-03-12 20:49:44
149 visit0world 171MS 1184K Visual C++ 2016-03-12 20:42:42
150 BNUJove 171MS 1232K GNU C++ 2016-03-12 19:50:50
151 1407010221 171MS 1232K GNU C++ 2016-03-12 20:00:24
152 happyrabbit 171MS 1236K GNU C++ 2016-03-12 20:03:52
153 zzx89757 171MS 1236K Visual C++ 2016-03-12 20:10:58
154 kozaiii 171MS 1236K GNU C++ 2016-03-12 20:20:47
155 huanzhizun888 171MS 1244K Visual C++ 2016-03-12 20:01:26
156 2014214212 171MS 1252K GNU C++ 2016-03-12 20:54:54
157 201421091116 171MS 1256K Visual C++ 2016-03-12 20:18:06
158 TToTT 171MS 1272K GNU C++ 2016-03-12 20:41:32
159 kphmd15 171MS 1280K GNU C++ 2016-03-12 20:18:35
160 3and2and1 171MS 1284K GNU C++ 2016-03-12 20:00:20
161 FizzCarry 171MS 1292K GNU C++ 2016-03-12 20:17:44
162 896731640 187MS 1136K GNU C++ 2016-03-12 20:31:58
163 playwithwind 187MS 1140K GNU C++ 2016-03-12 19:37:12
164 8cbx 187MS 1144K GNU C++ 2016-03-12 20:52:14
165 14170225 187MS 1152K GNU C++ 2016-03-12 20:35:32
166 saberde 187MS 1164K GNU C++ 2016-03-12 20:43:32
167 201312201401019 187MS 1188K Visual C++ 2016-03-12 20:21:52
168 757834408 187MS 1192K Visual C++ 2016-03-12 19:50:23
169 gamekinghack 187MS 1224K GNU C++ 2016-03-12 20:51:23
170 nlj1999 187MS 1232K GNU C++ 2016-03-12 19:42:06
171 ywnbit 187MS 1236K GNU C++ 2016-03-12 20:05:26
172 frank_c1 187MS 1236K GNU C++ 2016-03-12 20:45:51
173 judge 187MS 1244K Visual C++ 2016-03-12 20:14:11
174 2742195759 187MS 1260K GNU C++ 2016-03-12 20:45:31
175 luotuoqingshan 187MS 1316K GNU C++ 2016-03-12 19:54:31
176 14190114 202MS 1156K GNU C++ 2016-03-12 20:34:24
177 luyuanfei 202MS 1156K GNU C++ 2016-03-12 20:54:03
178 hfuu1404092031 202MS 1156K GNU C++ 2016-03-12 20:56:07
179 ARESdream 202MS 1208K Visual C++ 2016-03-12 19:49:38
180 buxiaoyu 202MS 1276K GNU C++ 2016-03-12 20:12:47
181 J_X 202MS 1296K GNU C++ 2016-03-12 20:29:36
182 1403mashaonan 202MS 1312K GNU C++ 2016-03-12 19:38:26
183 M_space 202MS 1316K Visual C++ 2016-03-12 20:39:40
184 BuddhaCoder 202MS 1316K Visual C++ 2016-03-12 20:55:28
185 201530800126 202MS 1364K GNU C++ 2016-03-12 20:14:00
186 harryzhao 202MS 6320K Java 2016-03-12 20:12:30
187 lioasdfghjkl 218MS 1136K GNU C++ 2016-03-12 20:18:58
188 yixingming 218MS 1136K GNU C++ 2016-03-12 20:38:19
189 5120142105 218MS 1140K GNU C++ 2016-03-12 20:19:25
190 xiaozhadanhaha 218MS 1152K GNU C++ 2016-03-12 20:49:44
191 kun368 218MS 1160K GNU C++ 2016-03-12 20:11:18
192 dogther 218MS 1160K GNU C++ 2016-03-12 20:21:24
193 tc0201zxw 218MS 1164K GNU C++ 2016-03-12 20:43:33
194 azui 218MS 1224K GNU C++ 2016-03-12 19:56:20
195 ta123 218MS 1228K GNU C++ 2016-03-12 19:42:35
196 infinitely 218MS 1236K GNU C++ 2016-03-12 20:29:45
197 brightest_star 218MS 1248K GNU C++ 2016-03-12 20:05:44
198 pixar95 218MS 1248K GNU C++ 2016-03-12 20:36:03
199 OMG_wc 218MS 1252K GNU C++ 2016-03-12 20:15:57
200 flowair 218MS 1252K GNU C++ 2016-03-12 20:39:54
201 wangzhuo0978 218MS 1276K GNU C++ 2016-03-12 20:41:35
202 hahatianx 218MS 1296K GNU C++ 2016-03-12 20:05:38
203 zttft 218MS 1308K GNU C++ 2016-03-12 20:42:25
204 crazyjerryh 218MS 1308K GNU C++ 2016-03-12 20:49:30
205 lovemj 218MS 1364K GNU C++ 2016-03-12 20:24:05
206 sixer 218MS 1688K Object Pascal 2016-03-12 19:53:20
207 Randolph87 234MS 1140K GNU C++ 2016-03-12 19:59:51
208 zhangyxXyz 234MS 1140K GNU C++ 2016-03-12 20:47:27
209 sagitta 234MS 1176K GNU C++ 2016-03-12 20:06:58
210 NEUCYR 234MS 1236K GNU C++ 2016-03-12 20:33:17
211 weizhuwyzc000 234MS 1276K GNU C++ 2016-03-12 20:31:12
212 huhuhu0930 234MS 1284K GNU C++ 2016-03-12 20:06:35
213 nbybyyby 234MS 1308K GNU C++ 2016-03-12 20:28:33
214 1602782022 234MS 1356K GNU C++ 2016-03-12 20:04:25
215 jiangxt 234MS 1364K GNU C++ 2016-03-12 19:56:50
216 Demon999 234MS 1376K Visual C++ 2016-03-12 20:55:03
217 Infinity25 234MS 1404K GNU C++ 2016-03-12 19:41:29
218 wtw666 234MS 1404K GNU C++ 2016-03-12 20:30:57
219 bestcoders 249MS 1156K GNU C++ 2016-03-12 19:43:19
220 _ilovelife 249MS 1196K GNU C++ 2016-03-12 19:46:52
221 2013300262 249MS 1256K GNU C++ 2016-03-12 19:26:41
222 AndyQsmart 249MS 1360K GNU C++ 2016-03-12 20:27:58
223 keithzheng 249MS 1416K GNU C++ 2016-03-12 20:16:18
224 caoyizhou 265MS 1140K GNU C++ 2016-03-12 19:58:25
225 zjhl2 265MS 1168K GNU C++ 2016-03-12 19:57:29
226 kp600169 265MS 1260K GNU C++ 2016-03-12 20:06:53
227 blackcui 265MS 1396K GNU C++ 2016-03-12 20:29:41
228 hunji 280MS 1252K GNU C++ 2016-03-12 19:43:51
229 suda1327405059 280MS 1252K GNU C++ 2016-03-12 20:20:09
230 williamchenwl 280MS 1348K GNU C++ 2016-03-12 20:32:58
231 cxzxxjd 280MS 1680K Object Pascal 2016-03-12 19:54:13
232 TaoSama 296MS 1260K GNU C++ 2016-03-12 19:51:28
233 Samzhang 296MS 1272K GNU C++ 2016-03-12 20:15:30
234 ACArthur 296MS 1280K GNU C++ 2016-03-12 20:31:32
235 spongebob_qdd 296MS 1316K GNU C++ 2016-03-12 20:13:06
236 johnathan79717 296MS 1360K GNU C++ 2016-03-12 20:36:53
237 wood3xuxu 312MS 1248K GNU C 2016-03-12 20:10:27
238 a19891101 312MS 50192K Visual C++ 2016-03-12 20:03:59
239 heu2014201208 327MS 1248K GNU C++ 2016-03-12 20:08:04
240 1004133217 343MS 1316K GNU C++ 2016-03-12 20:11:17
241 kopyh 358MS 1240K GNU C++ 2016-03-12 19:55:28
242 doubility 358MS 50544K GNU C++ 2016-03-12 19:37:15
243 top628 390MS 50304K GNU C++ 2016-03-12 20:50:40
244 HXLLLL 436MS 1200K GNU C++ 2016-03-12 20:12:06
245 uwi 436MS 5508K Java 2016-03-12 19:22:48
246 Jvv 436MS 50424K Visual C++ 2016-03-12 19:52:19
247 hxj1994 514MS 8972K Java 2016-03-12 20:39:02
248 rantd 639MS 41804K GNU C++ 2016-03-12 20:03:23
249 morestep 936MS 1268K GNU C++ 2016-03-12 20:46:36