Problem 1002

Total Submission(s)1138
User Solve271
Accepted271
Presentation Error2
Wrong Answer365
Runtime Error40
Compilation Error70
Time Limit Exceeded334
Memory Limit Exceeded9
Ouput Limit Exceeded0
System Error0
Rank Author Time Memory Language Submit Time
1 ExfJoe 78MS 1588K GNU C++ 2015-04-18 19:20:33
2 lyk248289469 78MS 1612K GNU C++ 2015-04-18 19:22:05
3 kut_pcj1995 78MS 2084K GNU C++ 2015-04-18 19:32:51
4 zld3794955 93MS 1596K GNU C++ 2015-04-18 19:18:30
5 13600124 109MS 1508K GNU C++ 2015-04-18 20:40:17
6 zzmr 109MS 1612K GNU C++ 2015-04-18 20:23:54
7 winterblue 109MS 1628K GNU C++ 2015-04-18 19:15:24
8 cctt 156MS 1600K Visual C++ 2015-04-18 20:32:23
9 liangjingtao 156MS 2028K Visual C++ 2015-04-18 19:26:00
10 yp0403130231 171MS 1252K Visual C++ 2015-04-18 20:27:12
11 893203990 171MS 1560K Visual C++ 2015-04-18 19:36:58
12 961852235 171MS 1588K Visual C++ 2015-04-18 19:20:29
13 201358503122 171MS 2000K Visual C++ 2015-04-18 20:04:33
14 life4711 187MS 5060K Visual C++ 2015-04-18 20:29:21
15 kutengine 202MS 1608K GNU C++ 2015-04-18 19:29:43
16 Baker199 218MS 1940K Visual C++ 2015-04-18 19:51:39
17 WTIAW 218MS 5440K Visual C 2015-04-18 20:32:11
18 kut_msm1993 234MS 2460K GNU C++ 2015-04-18 19:33:39
19 723264836 234MS 5468K Visual C++ 2015-04-18 20:20:17
20 gh546 249MS 1536K Visual C++ 2015-04-18 19:25:39
21 2990061293 249MS 1544K Visual C++ 2015-04-18 19:21:21
22 Jidong 265MS 1984K Visual C++ 2015-04-18 20:13:35
23 hongrock 265MS 10248K GNU C++ 2015-04-18 19:07:37
24 ydc 265MS 11144K Visual C++ 2015-04-18 19:23:26
25 aaddggddaa 280MS 1540K Visual C++ 2015-04-18 19:22:40
26 w750636248 280MS 1608K GNU C++ 2015-04-18 19:52:11
27 philippica 280MS 1608K GNU C++ 2015-04-18 20:00:06
28 307007643 280MS 1996K Visual C++ 2015-04-18 19:38:17
29 sd0061 280MS 2000K GNU C++ 2015-04-18 19:12:17
30 BSBandme 280MS 2024K GNU C++ 2015-04-18 19:21:29
31 zonzong 296MS 1504K GNU C++ 2015-04-18 20:23:57
32 EZ_lzh 296MS 1508K GNU C++ 2015-04-18 19:56:17
33 zz490396674 296MS 1512K GNU C++ 2015-04-18 19:10:31
34 gonens 296MS 1608K GNU C++ 2015-04-18 19:12:01
35 201292104 296MS 1608K GNU C++ 2015-04-18 19:39:14
36 xianbin5 296MS 1620K GNU C++ 2015-04-18 19:11:58
37 Wumpus 296MS 1904K GNU C++ 2015-04-18 19:52:43
38 0222_ 296MS 2000K GNU C++ 2015-04-18 19:48:37
39 longbiau 296MS 2024K GNU C++ 2015-04-18 19:41:32
40 jinzhao 312MS 1508K GNU C++ 2015-04-18 19:35:36
41 201401060337 312MS 1556K Visual C++ 2015-04-18 20:39:12
42 coder32167 312MS 1604K GNU C++ 2015-04-18 19:43:09
43 515982859 312MS 1612K GNU C++ 2015-04-18 20:27:52
44 morejarphone 312MS 1644K GNU C++ 2015-04-18 20:26:53
45 sea5 312MS 1996K GNU C++ 2015-04-18 19:26:56
46 dtyfc 312MS 2000K GNU C++ 2015-04-18 19:16:50
47 cong741 312MS 2000K GNU C++ 2015-04-18 20:06:09
48 zhanyl 312MS 2000K GNU C++ 2015-04-18 20:06:10
49 1273011572 312MS 2416K Object Pascal 2015-04-18 19:37:44
50 201392171 327MS 1504K GNU C++ 2015-04-18 19:30:45
51 lyc1635566ty 327MS 1516K GNU C++ 2015-04-18 20:34:04
52 hnust_zhouchaoyuan 327MS 1604K GNU C++ 2015-04-18 19:29:31
53 opas 327MS 1604K GNU C++ 2015-04-18 19:39:38
54 prwang 327MS 1912K GNU C++ 2015-04-18 19:45:17
55 ztxz16 327MS 2000K GNU C++ 2015-04-18 19:05:45
56 ditch7 327MS 2036K GNU C++ 2015-04-18 19:53:15
57 neu_clz 327MS 5116K GNU C++ 2015-04-18 20:39:20
58 NEU_14Michael 327MS 5120K GNU C++ 2015-04-18 20:41:37
59 ChouUn 343MS 1512K GNU C++ 2015-04-18 19:12:32
60 pathway 343MS 1512K GNU C++ 2015-04-18 19:17:21
61 nikoseven 343MS 1604K GNU C++ 2015-04-18 19:28:56
62 dhk 343MS 1608K GNU C++ 2015-04-18 19:49:53
63 201350080219 343MS 1612K GNU C++ 2015-04-18 20:29:52
64 w86065256 343MS 1652K GNU C++ 2015-04-18 19:17:51
65 firmsnail 343MS 1936K Visual C++ 2015-04-18 19:56:45
66 suda1427405052 343MS 1936K Visual C++ 2015-04-18 20:14:27
67 bryant03 343MS 1992K GNU C++ 2015-04-18 20:04:15
68 newbiegrey 343MS 5436K GNU C++ 2015-04-18 20:10:11
69 whai 358MS 1584K GNU C++ 2015-04-18 19:41:05
70 SHRst 358MS 1600K GNU C++ 2015-04-18 19:28:15
71 kut_ksr1994 358MS 1644K GNU C++ 2015-04-18 19:35:07
72 452660407 358MS 1728K GNU C++ 2015-04-18 19:12:45
73 huicpc0807 358MS 1932K Visual C++ 2015-04-18 19:48:58
74 Eyelids 358MS 2000K GNU C++ 2015-04-18 19:29:43
75 suda1327405059 358MS 2000K GNU C++ 2015-04-18 19:42:00
76 Freezefree 374MS 1508K GNU C++ 2015-04-18 20:25:20
77 bongbongbong 374MS 1512K GNU C++ 2015-04-18 20:03:26
78 zhaoshuai2 374MS 1612K GNU C++ 2015-04-18 20:40:03
79 juxin 374MS 1676K GNU C++ 2015-04-18 20:08:18
80 BennyCarina 374MS 1984K Visual C++ 2015-04-18 20:21:46
81 m1m3n1n3 374MS 2044K GNU C++ 2015-04-18 20:08:05
82 NEU_20143643 374MS 5028K GNU C++ 2015-04-18 20:35:28
83 yukihana0416 390MS 1608K GNU C++ 2015-04-18 19:23:04
84 vengarth_chen 390MS 5120K GNU C++ 2015-04-18 20:12:52
85 WiyrSb 405MS 1308K GNU C++ 2015-04-18 19:43:53
86 dnvtmf 405MS 1636K GNU C++ 2015-04-18 19:35:18
87 zjtzjxz 405MS 1904K GNU C++ 2015-04-18 19:18:21
88 201300800419 405MS 5428K GNU C++ 2015-04-18 20:38:20
89 fcxxzux 421MS 1504K GNU C++ 2015-04-18 19:39:06
90 201316080235 421MS 1600K GNU C++ 2015-04-18 19:46:52
91 ghy1953 421MS 1608K GNU C++ 2015-04-18 20:32:07
92 zjr506 436MS 1504K GNU C++ 2015-04-18 19:16:19
93 dive5617 436MS 1684K GNU C++ 2015-04-18 19:39:53
94 huanzhizun888 452MS 1984K Visual C++ 2015-04-18 19:18:22
95 hccz95 452MS 2380K GNU C++ 2015-04-18 19:48:26
96 candy_yu 452MS 2388K GNU C++ 2015-04-18 20:43:41
97 zerokugi 452MS 3380K GNU C++ 2015-04-18 19:42:54
98 zerotrac 452MS 9644K GNU C++ 2015-04-18 19:34:31
99 a19891101 452MS 11412K GNU C++ 2015-04-18 19:29:56
100 scfkcf 468MS 1600K GNU C++ 2015-04-18 20:15:47
101 doubility 468MS 1612K GNU C++ 2015-04-18 19:07:11
102 Jvv 468MS 1996K GNU C++ 2015-04-18 19:27:20
103 sunxinhehe 468MS 1996K GNU C++ 2015-04-18 20:43:18
104 hjqlty 468MS 2008K GNU C++ 2015-04-18 19:46:46
105 astar1995 468MS 2056K GNU C++ 2015-04-18 19:11:59
106 2013120546 468MS 2396K GNU C++ 2015-04-18 20:17:15
107 zhaohaiyu 483MS 1512K GNU C++ 2015-04-18 20:01:13
108 55242 483MS 60200K GNU C++ 2015-04-18 20:15:18
109 Kuros 499MS 1608K GNU C++ 2015-04-18 19:39:09
110 201350080318 499MS 1984K Visual C++ 2015-04-18 19:59:27
111 pitmates 499MS 1988K GNU C++ 2015-04-18 19:48:18
112 icerain94 499MS 1992K GNU C++ 2015-04-18 19:34:38
113 daivdwang 499MS 11760K GNU C++ 2015-04-18 19:11:39
114 Ivy_End 514MS 1908K GNU C++ 2015-04-18 20:41:07
115 55226 514MS 60200K GNU C++ 2015-04-18 20:20:09
116 niuox 530MS 1540K Visual C++ 2015-04-18 20:31:26
117 shengtao96 530MS 41480K Visual C++ 2015-04-18 20:41:26
118 glq007 546MS 2000K GNU C++ 2015-04-18 19:22:48
119 happyendingoi 561MS 1900K GNU C++ 2015-04-18 19:27:05
120 z286830682 561MS 2448K GNU C++ 2015-04-18 19:30:05
121 mwc123 577MS 11032K GNU C++ 2015-04-18 20:11:18
122 1403mashaonan 577MS 41480K Visual C++ 2015-04-18 19:49:43
123 neopenx 592MS 5116K Visual C++ 2015-04-18 19:43:07
124 a645124937 608MS 1460K GNU C++ 2015-04-18 20:02:00
125 solotzg 608MS 1988K Visual C++ 2015-04-18 19:59:18
126 last_one 608MS 1996K GNU C++ 2015-04-18 19:53:36
127 202314 608MS 10064K GNU C++ 2015-04-18 20:00:54
128 adop 608MS 10392K GNU C++ 2015-04-18 19:52:02
129 ronnoc 608MS 11688K GNU C++ 2015-04-18 19:49:48
130 zscloverinyo 624MS 1616K GNU C++ 2015-04-18 19:45:32
131 634579757 624MS 11380K GNU C++ 2015-04-18 19:36:51
132 q8745000 624MS 11884K GNU C++ 2015-04-18 19:28:16
133 sysuwx 639MS 1676K GNU C++ 2015-04-18 19:21:30
134 w703710691d 639MS 1896K GNU C++ 2015-04-18 20:43:22
135 201358501108 639MS 5124K Visual C++ 2015-04-18 20:25:49
136 13969113 655MS 1900K GNU C++ 2015-04-18 20:06:41
137 matrix123 655MS 41528K GNU C++ 2015-04-18 20:03:59
138 fnoi06bxyde 670MS 1600K GNU C++ 2015-04-18 20:11:30
139 yuzhou627 670MS 2000K GNU C++ 2015-04-18 19:13:50
140 12170246 670MS 11296K GNU C++ 2015-04-18 19:25:00
141 zjyjer 686MS 1640K GNU C++ 2015-04-18 19:05:59
142 qq243887 686MS 2788K GNU C++ 2015-04-18 20:38:24
143 NUM_24 686MS 9496K Visual C++ 2015-04-18 20:00:20
144 finale 702MS 10652K GNU C++ 2015-04-18 19:20:25
145 howardchina12 717MS 1744K GNU C++ 2015-04-18 20:22:47
146 dzy493941464 717MS 1996K GNU C++ 2015-04-18 19:03:51
147 Hugh_627 717MS 9212K Visual C++ 2015-04-18 20:01:44
148 darkdream 717MS 11028K GNU C++ 2015-04-18 19:22:31
149 chffy 717MS 11380K GNU C++ 2015-04-18 19:16:08
150 alpq654321 733MS 2388K GNU C++ 2015-04-18 19:10:29
151 xxsyuyuko 733MS 9904K GNU C++ 2015-04-18 19:28:25
152 20130111 733MS 10092K GNU C++ 2015-04-18 20:14:58
153 xing89qs 733MS 11800K GNU C++ 2015-04-18 19:17:36
154 oilover 748MS 2228K GNU C++ 2015-04-18 19:25:52
155 caozy623 748MS 11288K GNU C++ 2015-04-18 20:10:38
156 jiry_2 748MS 11900K GNU C++ 2015-04-18 19:23:15
157 poursoul 764MS 1900K GNU C++ 2015-04-18 19:11:12
158 seen1020 764MS 9480K Visual C++ 2015-04-18 19:15:21
159 xinye123456 764MS 9684K GNU C++ 2015-04-18 20:25:57
160 davidlee1999WTK 780MS 2048K GNU C++ 2015-04-18 19:22:24
161 dashuiren 780MS 9480K Visual C++ 2015-04-18 19:24:03
162 rolight 795MS 9280K GNU C++ 2015-04-18 19:33:23
163 _ilovelife 795MS 9604K GNU C++ 2015-04-18 19:21:20
164 ytt520 795MS 10076K GNU C++ 2015-04-18 19:35:32
165 1135472307 795MS 11088K GNU C++ 2015-04-18 19:42:08
166 dut200901102 811MS 11092K GNU C++ 2015-04-18 19:19:45
167 1A 826MS 1612K GNU C++ 2015-04-18 20:35:06
168 t3cmax 826MS 9916K Visual C++ 2015-04-18 19:34:50
169 JayYe 826MS 11340K GNU C++ 2015-04-18 19:17:09
170 zhangtufei 842MS 1604K Visual C++ 2015-04-18 20:31:20
171 evensgn 842MS 1992K GNU C++ 2015-04-18 19:34:18
172 DashSystem12 889MS 10088K GNU C++ 2015-04-18 20:43:35
173 caiyongjian 889MS 52876K GNU C++ 2015-04-18 19:39:14
174 Programmer_C 904MS 1604K Visual C++ 2015-04-18 20:11:31
175 Death_Knight_DK 904MS 1940K GNU C++ 2015-04-18 19:44:13
176 LayCurse 951MS 1640K GNU C++ 2015-04-18 19:13:11
177 20134947 951MS 10080K GNU C++ 2015-04-18 19:47:16
178 snowy_smile 982MS 2020K GNU C++ 2015-04-18 19:27:04
179 602087215 1029MS 2000K GNU C++ 2015-04-18 20:20:02
180 wid 1029MS 9740K GNU C++ 2015-04-18 20:42:06
181 sugim48 1029MS 11552K GNU C++ 2015-04-18 19:21:50
182 2435060210 1092MS 1600K Visual C++ 2015-04-18 19:41:45
183 xiaoshuib 1185MS 9780K Visual C++ 2015-04-18 19:55:34
184 Miceren 1185MS 9992K Visual C++ 2015-04-18 19:29:33
185 2013100101002 1279MS 9480K Visual C++ 2015-04-18 19:34:14
186 ac_magician 1310MS 2044K GNU C++ 2015-04-18 20:06:20
187 AceSrc 1357MS 10088K Visual C++ 2015-04-18 19:30:18
188 0_0000000 1372MS 2044K GNU C++ 2015-04-18 20:05:21
189 layor 1372MS 9412K Visual C++ 2015-04-18 19:37:21
190 10132510126 1419MS 1256K Visual C++ 2015-04-18 19:20:51
191 kentczf 1419MS 2336K Visual C++ 2015-04-18 19:59:29
192 Irush_ 1435MS 1580K Visual C++ 2015-04-18 19:44:42
193 njczy2010 1435MS 1936K Visual C++ 2015-04-18 19:25:38
194 14055121 1450MS 1544K Visual C++ 2015-04-18 19:45:27
195 ACS2013 1450MS 2232K GNU C++ 2015-04-18 19:17:53
196 halleywj 1466MS 1544K Visual C++ 2015-04-18 19:57:10
197 swust_zhudi 1466MS 1712K GNU C++ 2015-04-18 20:07:24
198 Tach 1482MS 1944K Visual C++ 2015-04-18 19:58:33
199 1234567891 1497MS 1520K GNU C++ 2015-04-18 19:31:10
200 swust_20124527 1497MS 1580K Visual C++ 2015-04-18 19:20:59
201 zgdcl 1497MS 1596K Visual C++ 2015-04-18 19:53:48
202 13295919790 1497MS 1944K Visual C++ 2015-04-18 20:43:19
203 gong782008371 1513MS 1644K Visual C++ 2015-04-18 19:49:48
204 skydec 1544MS 9864K Visual C++ 2015-04-18 19:08:31
205 dieyidezui 1560MS 1548K Visual C++ 2015-04-18 19:50:05
206 youngkl 1560MS 1940K Visual C++ 2015-04-18 19:32:39
207 g407660109 1560MS 1940K Visual C++ 2015-04-18 20:12:06
208 g0611 1560MS 1944K Visual C++ 2015-04-18 20:09:46
209 Another_Misaki 1560MS 2196K GNU C++ 2015-04-18 19:12:03
210 xdchenshuai 1575MS 1508K GNU C++ 2015-04-18 20:13:31
211 337134154 1575MS 1560K Visual C++ 2015-04-18 20:06:09
212 wmdcstdio 1575MS 2004K GNU C++ 2015-04-18 19:28:00
213 Atlantis67 1575MS 2200K GNU C++ 2015-04-18 19:20:17
214 chenguanting 1591MS 2412K Object Pascal 2015-04-18 19:34:51
215 myx12345 1591MS 2416K Object Pascal 2015-04-18 20:19:52
216 yeweining 1591MS 2456K Object Pascal 2015-04-18 20:12:11
217 wemadefox 1606MS 1612K GNU C++ 2015-04-18 20:18:52
218 ecnu10132510263 1606MS 1808K GNU C++ 2015-04-18 19:54:54
219 Ginger88995 1622MS 1508K GNU C++ 2015-04-18 19:18:00
220 20134579 1622MS 2004K GNU C++ 2015-04-18 19:57:41
221 uwi 1622MS 7252K Java 2015-04-18 19:10:25
222 zyfzyf 1638MS 1316K GNU C++ 2015-04-18 19:24:43
223 laolao 1638MS 1636K GNU C++ 2015-04-18 19:17:44
224 MottoX 1638MS 1640K Visual C++ 2015-04-18 19:46:48
225 eally 1638MS 2196K GNU C++ 2015-04-18 19:44:44
226 pigoneline 1638MS 2420K Object Pascal 2015-04-18 19:33:35
227 JustLikeDance 1653MS 1560K Visual C++ 2015-04-18 19:31:49
228 3zwyh 1653MS 1608K GNU C++ 2015-04-18 19:25:33
229 Tony1995 1653MS 2196K GNU C++ 2015-04-18 20:35:43
230 takio 1653MS 2204K GNU C++ 2015-04-18 19:22:02
231 rpSebastian 1653MS 2420K Object Pascal 2015-04-18 19:19:47
232 duangoi 1669MS 1812K GNU C++ 2015-04-18 19:27:37
233 RDFZ_lct 1669MS 1996K GNU C++ 2015-04-18 19:37:48
234 CyoSeKyo 1669MS 26796K GNU C++ 2015-04-18 19:40:16
235 Hezhu 1684MS 1508K GNU C++ 2015-04-18 19:30:27
236 xiaoshua 1684MS 1548K Visual C++ 2015-04-18 19:05:45
237 supermanwx 1684MS 2196K GNU C++ 2015-04-18 20:03:02
238 594265453 1684MS 2200K GNU C++ 2015-04-18 20:21:06
239 xwind 1700MS 1908K GNU C++ 2015-04-18 19:39:28
240 1611789604 1700MS 1908K GNU C++ 2015-04-18 20:03:35
241 cxlove 1700MS 2196K GNU C++ 2015-04-18 19:09:42
242 491224391 1700MS 2200K GNU C++ 2015-04-18 19:36:41
243 wxa 1700MS 2208K GNU C++ 2015-04-18 20:22:01
244 jiangshibiao 1716MS 1508K GNU C++ 2015-04-18 19:10:02
245 s1451900 1716MS 1904K GNU C++ 2015-04-18 19:09:40
246 ththtt 1716MS 2412K Object Pascal 2015-04-18 19:36:10
247 nothing_ak 1716MS 2420K Object Pascal 2015-04-18 19:53:24
248 zufe_wrz 1731MS 1548K Visual C++ 2015-04-18 19:24:32
249 w20810 1731MS 17200K Visual C++ 2015-04-18 20:18:46
250 sgwbl 1747MS 1804K GNU C++ 2015-04-18 19:40:22
251 YIZHONG 1747MS 1896K GNU C++ 2015-04-18 19:30:51
252 1184989240 1747MS 1904K GNU C++ 2015-04-18 19:42:33
253 kut_boy1995 1747MS 2196K GNU C++ 2015-04-18 19:58:07
254 2409073406 1747MS 2200K GNU C++ 2015-04-18 20:14:32
255 nenu_huangxf 1747MS 2972K GNU C++ 2015-04-18 19:59:37
256 orzlyc 1747MS 9884K Object Pascal 2015-04-18 20:24:31
257 hdu_xian 1762MS 1312K GNU C++ 2015-04-18 19:25:11
258 xindubawukong 1794MS 1516K GNU C++ 2015-04-18 19:20:53
259 hzz1346 1794MS 2200K GNU C++ 2015-04-18 19:43:34
260 13061326 1794MS 2296K GNU C++ 2015-04-18 20:01:08
261 a7884594 1809MS 3472K GNU C++ 2015-04-18 20:18:17
262 zhoutonglx 1856MS 2556K GNU C++ 2015-04-18 20:10:16
263 ccutsoft20145612 1856MS 2860K GNU C++ 2015-04-18 19:25:24
264 anta 1856MS 20528K GNU C++ 2015-04-18 19:17:18
265 wzcjj 1887MS 6512K Visual C++ 2015-04-18 20:16:34
266 913106840144 1918MS 1600K Visual C++ 2015-04-18 20:06:34
267 JCR 1934MS 1552K Visual C++ 2015-04-18 20:25:25
268 201303321 1934MS 2200K GNU C++ 2015-04-18 19:35:30
269 a_lucky_dog 1950MS 1600K Visual C++ 2015-04-18 20:06:10
270 hongchu098 1965MS 1904K GNU C++ 2015-04-18 20:33:49
271 yanzhensong 1996MS 1904K GNU C++ 2015-04-18 19:54:19