Code
Judgement Details
Case#1 [434176 bytes][61 ms]: ok "2"
Case#2 [434176 bytes][46 ms]: ok "4"
Case#3 [434176 bytes][16 ms]: ok "2"
Case#4 [434176 bytes][31 ms]: ok "1"
Case#5 [434176 bytes][30 ms]: ok "12"
Case#6 [434176 bytes][61 ms]: ok "14"
Case#7 [438272 bytes][31 ms]: ok "18"
Case#8 [434176 bytes][33 ms]: ok "26"
Case#9 [434176 bytes][43 ms]: ok "18"
Case#10 [438272 bytes][27 ms]: ok "26"
Case#11 [434176 bytes][31 ms]: ok "41"
Case#12 [434176 bytes][14 ms]: ok "41"
Case#13 [434176 bytes][44 ms]: ok "42"
Case#14 [438272 bytes][15 ms]: ok "37"
Case#15 [434176 bytes][31 ms]: ok "40"
Case#16 [434176 bytes][31 ms]: ok "38"
Case#17 [434176 bytes][15 ms]: ok "35"
Case#18 [434176 bytes][48 ms]: ok "35"
Case#19 [434176 bytes][31 ms]: ok "41"
Case#20 [434176 bytes][45 ms]: ok "41"
Case#21 [569344 bytes][15 ms]: ok "2084"
Case#22 [507904 bytes][46 ms]: ok "956"
Case#23 [544768 bytes][30 ms]: ok "1431"
Case#24 [569344 bytes][31 ms]: ok "1966"
Case#25 [544768 bytes][46 ms]: ok "1486"
Case#26 [565248 bytes][32 ms]: ok "1948"
Case#27 [569344 bytes][31 ms]: ok "1926"
Case#28 [516096 bytes][31 ms]: ok "1004"
Case#29 [602112 bytes][46 ms]: ok "2222"
Case#30 [606208 bytes][31 ms]: ok "2431"
Case#31 [11382784 bytes][530 ms]: ok "160123"
Case#32 [15261696 bytes][765 ms]: ok "219300"
Case#33 [14254080 bytes][793 ms]: ok "203853"
Case#34 [14974976 bytes][856 ms]: ok "213834"
Case#35 [7794688 bytes][297 ms]: ok "107485"
Case#36 [11382784 bytes][546 ms]: ok "160101"
Case#37 [11669504 bytes][531 ms]: ok "164560"
Case#38 [8650752 bytes][296 ms]: ok "118872"
Case#39 [17420288 bytes][999 ms]: ok "249373"
Case#40 [7356416 bytes][249 ms]: ok "100465"
Case#41 [17707008 bytes][1078 ms]: ok "253581"
Case#42 [17997824 bytes][1062 ms]: ok "259288"
Case#43 [17997824 bytes][1171 ms]: ok "258355"
Case#44 [17850368 bytes][1046 ms]: ok "256422"
Case#45 [17854464 bytes][996 ms]: ok "256130"