結果
問題 | No.3083 12歳 |
ユーザー | roaris |
提出日時 | 2021-04-01 22:29:56 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 445 bytes |
コンパイル時間 | 411 ms |
コンパイル使用メモリ | 82,424 KB |
実行使用メモリ | 54,436 KB |
最終ジャッジ日時 | 2024-06-01 04:07:09 |
合計ジャッジ時間 | 21,691 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 40 ms
51,940 KB |
testcase_01 | AC | 39 ms
53,144 KB |
testcase_02 | AC | 39 ms
51,936 KB |
testcase_03 | AC | 39 ms
52,860 KB |
testcase_04 | AC | 38 ms
51,936 KB |
testcase_05 | AC | 39 ms
52,624 KB |
testcase_06 | AC | 39 ms
52,812 KB |
testcase_07 | AC | 38 ms
53,672 KB |
testcase_08 | AC | 39 ms
52,404 KB |
testcase_09 | AC | 39 ms
54,192 KB |
testcase_10 | AC | 39 ms
52,612 KB |
testcase_11 | AC | 38 ms
52,748 KB |
testcase_12 | AC | 38 ms
52,620 KB |
testcase_13 | AC | 38 ms
52,460 KB |
testcase_14 | AC | 39 ms
52,332 KB |
testcase_15 | AC | 38 ms
52,896 KB |
testcase_16 | AC | 38 ms
54,024 KB |
testcase_17 | AC | 38 ms
52,744 KB |
testcase_18 | AC | 39 ms
52,064 KB |
testcase_19 | AC | 39 ms
52,552 KB |
testcase_20 | AC | 40 ms
52,068 KB |
testcase_21 | AC | 39 ms
53,360 KB |
testcase_22 | AC | 39 ms
53,196 KB |
testcase_23 | AC | 39 ms
52,572 KB |
testcase_24 | AC | 39 ms
52,436 KB |
testcase_25 | AC | 38 ms
52,200 KB |
testcase_26 | AC | 38 ms
52,464 KB |
testcase_27 | AC | 39 ms
53,264 KB |
testcase_28 | AC | 38 ms
53,148 KB |
testcase_29 | AC | 38 ms
52,896 KB |
testcase_30 | AC | 38 ms
53,164 KB |
testcase_31 | AC | 39 ms
52,800 KB |
testcase_32 | AC | 38 ms
52,776 KB |
testcase_33 | AC | 39 ms
51,876 KB |
testcase_34 | AC | 38 ms
53,532 KB |
testcase_35 | AC | 39 ms
52,548 KB |
testcase_36 | AC | 39 ms
52,364 KB |
testcase_37 | AC | 39 ms
52,760 KB |
testcase_38 | AC | 39 ms
52,368 KB |
testcase_39 | AC | 38 ms
52,468 KB |
testcase_40 | AC | 39 ms
53,196 KB |
testcase_41 | AC | 39 ms
52,688 KB |
testcase_42 | AC | 38 ms
52,436 KB |
testcase_43 | AC | 38 ms
52,888 KB |
testcase_44 | AC | 39 ms
52,804 KB |
testcase_45 | AC | 38 ms
52,892 KB |
testcase_46 | AC | 40 ms
53,188 KB |
testcase_47 | AC | 39 ms
52,948 KB |
testcase_48 | AC | 39 ms
52,820 KB |
testcase_49 | AC | 38 ms
52,268 KB |
testcase_50 | AC | 39 ms
53,352 KB |
testcase_51 | AC | 39 ms
53,416 KB |
testcase_52 | AC | 39 ms
52,708 KB |
testcase_53 | AC | 38 ms
52,364 KB |
testcase_54 | AC | 39 ms
52,124 KB |
testcase_55 | AC | 38 ms
53,092 KB |
testcase_56 | AC | 39 ms
52,428 KB |
testcase_57 | AC | 38 ms
53,336 KB |
testcase_58 | AC | 38 ms
52,196 KB |
testcase_59 | AC | 38 ms
53,376 KB |
testcase_60 | WA | - |
testcase_61 | AC | 38 ms
52,184 KB |
testcase_62 | WA | - |
testcase_63 | AC | 38 ms
52,352 KB |
testcase_64 | AC | 38 ms
53,684 KB |
testcase_65 | WA | - |
testcase_66 | AC | 38 ms
53,288 KB |
testcase_67 | AC | 38 ms
52,516 KB |
testcase_68 | AC | 38 ms
52,680 KB |
testcase_69 | WA | - |
testcase_70 | WA | - |
testcase_71 | AC | 39 ms
52,160 KB |
testcase_72 | AC | 38 ms
52,560 KB |
testcase_73 | WA | - |
testcase_74 | AC | 39 ms
52,532 KB |
testcase_75 | WA | - |
testcase_76 | WA | - |
testcase_77 | WA | - |
testcase_78 | WA | - |
testcase_79 | WA | - |
testcase_80 | WA | - |
testcase_81 | WA | - |
testcase_82 | WA | - |
testcase_83 | WA | - |
testcase_84 | WA | - |
testcase_85 | AC | 38 ms
53,696 KB |
testcase_86 | AC | 39 ms
52,240 KB |
testcase_87 | AC | 39 ms
52,408 KB |
testcase_88 | WA | - |
testcase_89 | WA | - |
testcase_90 | WA | - |
testcase_91 | WA | - |
testcase_92 | WA | - |
testcase_93 | WA | - |
testcase_94 | AC | 39 ms
52,528 KB |
testcase_95 | AC | 38 ms
53,284 KB |
testcase_96 | WA | - |
testcase_97 | WA | - |
testcase_98 | AC | 39 ms
53,620 KB |
testcase_99 | AC | 40 ms
52,340 KB |
testcase_100 | WA | - |
testcase_101 | WA | - |
testcase_102 | WA | - |
testcase_103 | AC | 40 ms
52,204 KB |
testcase_104 | AC | 39 ms
52,820 KB |
testcase_105 | AC | 39 ms
52,400 KB |
testcase_106 | AC | 39 ms
52,620 KB |
testcase_107 | AC | 39 ms
53,668 KB |
testcase_108 | AC | 39 ms
52,496 KB |
testcase_109 | AC | 39 ms
52,468 KB |
testcase_110 | WA | - |
testcase_111 | WA | - |
testcase_112 | AC | 39 ms
53,192 KB |
testcase_113 | AC | 38 ms
52,712 KB |
testcase_114 | AC | 38 ms
52,188 KB |
testcase_115 | AC | 38 ms
52,512 KB |
testcase_116 | AC | 39 ms
51,884 KB |
testcase_117 | AC | 39 ms
52,996 KB |
testcase_118 | AC | 39 ms
53,072 KB |
testcase_119 | AC | 38 ms
53,280 KB |
testcase_120 | AC | 38 ms
51,828 KB |
testcase_121 | AC | 39 ms
52,680 KB |
testcase_122 | AC | 39 ms
52,688 KB |
testcase_123 | AC | 39 ms
52,724 KB |
testcase_124 | AC | 38 ms
52,252 KB |
testcase_125 | AC | 39 ms
52,464 KB |
testcase_126 | AC | 38 ms
52,736 KB |
testcase_127 | AC | 39 ms
52,672 KB |
testcase_128 | AC | 38 ms
53,416 KB |
testcase_129 | AC | 39 ms
53,420 KB |
testcase_130 | AC | 39 ms
52,528 KB |
testcase_131 | AC | 37 ms
52,660 KB |
testcase_132 | AC | 39 ms
52,136 KB |
testcase_133 | AC | 38 ms
53,184 KB |
testcase_134 | AC | 40 ms
52,864 KB |
testcase_135 | AC | 38 ms
52,976 KB |
testcase_136 | AC | 40 ms
52,428 KB |
testcase_137 | AC | 38 ms
53,160 KB |
testcase_138 | AC | 37 ms
52,756 KB |
testcase_139 | AC | 39 ms
52,504 KB |
testcase_140 | AC | 40 ms
52,212 KB |
testcase_141 | AC | 38 ms
53,324 KB |
testcase_142 | AC | 39 ms
52,364 KB |
testcase_143 | AC | 38 ms
52,388 KB |
testcase_144 | AC | 40 ms
52,532 KB |
testcase_145 | AC | 39 ms
52,812 KB |
testcase_146 | AC | 40 ms
52,620 KB |
testcase_147 | AC | 39 ms
53,040 KB |
testcase_148 | AC | 38 ms
53,012 KB |
testcase_149 | AC | 38 ms
53,084 KB |
testcase_150 | AC | 39 ms
53,820 KB |
testcase_151 | AC | 39 ms
52,832 KB |
testcase_152 | AC | 39 ms
52,448 KB |
testcase_153 | AC | 40 ms
53,220 KB |
testcase_154 | AC | 39 ms
52,804 KB |
testcase_155 | WA | - |
testcase_156 | WA | - |
testcase_157 | WA | - |
testcase_158 | WA | - |
testcase_159 | WA | - |
testcase_160 | AC | 38 ms
52,460 KB |
testcase_161 | WA | - |
testcase_162 | WA | - |
testcase_163 | WA | - |
testcase_164 | AC | 39 ms
52,792 KB |
testcase_165 | AC | 38 ms
53,552 KB |
testcase_166 | AC | 39 ms
53,068 KB |
testcase_167 | AC | 39 ms
52,832 KB |
testcase_168 | WA | - |
testcase_169 | AC | 39 ms
52,408 KB |
testcase_170 | AC | 40 ms
52,680 KB |
testcase_171 | AC | 39 ms
53,216 KB |
testcase_172 | AC | 38 ms
53,248 KB |
testcase_173 | AC | 38 ms
52,216 KB |
testcase_174 | AC | 39 ms
53,140 KB |
testcase_175 | AC | 39 ms
52,700 KB |
testcase_176 | AC | 39 ms
52,556 KB |
testcase_177 | AC | 38 ms
52,544 KB |
testcase_178 | AC | 38 ms
52,496 KB |
testcase_179 | AC | 40 ms
52,620 KB |
testcase_180 | AC | 39 ms
53,148 KB |
testcase_181 | AC | 38 ms
52,616 KB |
testcase_182 | AC | 39 ms
52,600 KB |
testcase_183 | AC | 38 ms
53,148 KB |
testcase_184 | AC | 37 ms
52,872 KB |
testcase_185 | AC | 39 ms
52,756 KB |
testcase_186 | AC | 39 ms
52,132 KB |
testcase_187 | AC | 39 ms
52,156 KB |
testcase_188 | AC | 39 ms
52,012 KB |
testcase_189 | AC | 39 ms
52,824 KB |
testcase_190 | AC | 39 ms
52,868 KB |
testcase_191 | AC | 39 ms
52,308 KB |
testcase_192 | AC | 39 ms
53,164 KB |
testcase_193 | AC | 39 ms
52,596 KB |
testcase_194 | AC | 39 ms
52,680 KB |
testcase_195 | AC | 40 ms
52,676 KB |
testcase_196 | AC | 39 ms
52,340 KB |
testcase_197 | AC | 39 ms
52,500 KB |
testcase_198 | AC | 39 ms
53,156 KB |
testcase_199 | AC | 39 ms
52,180 KB |
testcase_200 | AC | 39 ms
52,016 KB |
testcase_201 | AC | 40 ms
52,952 KB |
testcase_202 | AC | 39 ms
53,112 KB |
testcase_203 | AC | 39 ms
52,420 KB |
testcase_204 | AC | 39 ms
53,048 KB |
testcase_205 | AC | 39 ms
53,644 KB |
testcase_206 | AC | 39 ms
53,664 KB |
testcase_207 | AC | 38 ms
53,120 KB |
testcase_208 | AC | 38 ms
52,268 KB |
testcase_209 | AC | 39 ms
52,728 KB |
testcase_210 | AC | 38 ms
52,888 KB |
testcase_211 | AC | 39 ms
53,060 KB |
testcase_212 | AC | 39 ms
52,576 KB |
testcase_213 | AC | 39 ms
52,752 KB |
testcase_214 | AC | 39 ms
51,820 KB |
testcase_215 | AC | 38 ms
52,188 KB |
testcase_216 | AC | 38 ms
53,128 KB |
testcase_217 | AC | 39 ms
53,288 KB |
testcase_218 | AC | 40 ms
53,808 KB |
testcase_219 | AC | 38 ms
52,720 KB |
testcase_220 | AC | 38 ms
53,032 KB |
testcase_221 | AC | 38 ms
52,680 KB |
testcase_222 | AC | 38 ms
53,456 KB |
testcase_223 | AC | 39 ms
52,124 KB |
testcase_224 | AC | 39 ms
52,760 KB |
testcase_225 | AC | 39 ms
52,808 KB |
testcase_226 | AC | 37 ms
53,368 KB |
testcase_227 | AC | 39 ms
52,880 KB |
testcase_228 | AC | 40 ms
52,344 KB |
testcase_229 | AC | 38 ms
52,648 KB |
testcase_230 | AC | 38 ms
53,160 KB |
testcase_231 | WA | - |
testcase_232 | AC | 39 ms
52,876 KB |
testcase_233 | WA | - |
testcase_234 | AC | 38 ms
52,444 KB |
testcase_235 | AC | 39 ms
52,204 KB |
testcase_236 | WA | - |
testcase_237 | AC | 39 ms
52,868 KB |
testcase_238 | AC | 39 ms
53,688 KB |
testcase_239 | AC | 39 ms
52,652 KB |
testcase_240 | WA | - |
testcase_241 | WA | - |
testcase_242 | AC | 38 ms
52,404 KB |
testcase_243 | AC | 39 ms
52,220 KB |
testcase_244 | WA | - |
testcase_245 | AC | 38 ms
52,692 KB |
testcase_246 | WA | - |
testcase_247 | WA | - |
testcase_248 | WA | - |
testcase_249 | WA | - |
testcase_250 | WA | - |
testcase_251 | WA | - |
testcase_252 | WA | - |
testcase_253 | WA | - |
testcase_254 | WA | - |
testcase_255 | WA | - |
testcase_256 | AC | 38 ms
52,264 KB |
testcase_257 | AC | 39 ms
52,688 KB |
testcase_258 | AC | 38 ms
52,872 KB |
testcase_259 | WA | - |
testcase_260 | WA | - |
testcase_261 | WA | - |
testcase_262 | WA | - |
testcase_263 | WA | - |
testcase_264 | WA | - |
testcase_265 | AC | 39 ms
53,412 KB |
testcase_266 | AC | 40 ms
52,196 KB |
testcase_267 | WA | - |
testcase_268 | WA | - |
testcase_269 | AC | 39 ms
52,556 KB |
testcase_270 | AC | 38 ms
52,728 KB |
testcase_271 | WA | - |
testcase_272 | WA | - |
testcase_273 | WA | - |
testcase_274 | AC | 38 ms
52,904 KB |
testcase_275 | AC | 40 ms
52,756 KB |
testcase_276 | AC | 39 ms
53,504 KB |
testcase_277 | AC | 39 ms
53,484 KB |
testcase_278 | AC | 39 ms
53,072 KB |
testcase_279 | AC | 38 ms
52,756 KB |
testcase_280 | AC | 39 ms
53,668 KB |
testcase_281 | WA | - |
testcase_282 | WA | - |
testcase_283 | AC | 38 ms
52,956 KB |
testcase_284 | AC | 39 ms
53,208 KB |
testcase_285 | AC | 38 ms
52,792 KB |
testcase_286 | AC | 39 ms
53,352 KB |
testcase_287 | AC | 38 ms
52,260 KB |
testcase_288 | AC | 39 ms
53,152 KB |
testcase_289 | AC | 39 ms
52,060 KB |
testcase_290 | AC | 39 ms
52,308 KB |
testcase_291 | AC | 39 ms
53,436 KB |
testcase_292 | AC | 39 ms
52,316 KB |
testcase_293 | AC | 38 ms
52,804 KB |
testcase_294 | AC | 38 ms
53,076 KB |
testcase_295 | AC | 39 ms
52,180 KB |
testcase_296 | AC | 39 ms
52,396 KB |
testcase_297 | AC | 38 ms
53,060 KB |
testcase_298 | AC | 38 ms
52,952 KB |
testcase_299 | AC | 40 ms
52,064 KB |
testcase_300 | AC | 39 ms
53,012 KB |
testcase_301 | AC | 40 ms
52,316 KB |
testcase_302 | AC | 41 ms
52,472 KB |
testcase_303 | AC | 41 ms
52,332 KB |
testcase_304 | AC | 40 ms
52,664 KB |
testcase_305 | AC | 40 ms
52,572 KB |
testcase_306 | AC | 39 ms
52,692 KB |
testcase_307 | AC | 39 ms
53,072 KB |
testcase_308 | AC | 39 ms
53,280 KB |
testcase_309 | AC | 40 ms
52,376 KB |
testcase_310 | AC | 38 ms
52,932 KB |
testcase_311 | AC | 39 ms
52,556 KB |
testcase_312 | AC | 39 ms
53,280 KB |
testcase_313 | AC | 37 ms
52,268 KB |
testcase_314 | AC | 38 ms
52,772 KB |
testcase_315 | AC | 38 ms
52,804 KB |
testcase_316 | AC | 39 ms
54,000 KB |
testcase_317 | AC | 38 ms
53,052 KB |
testcase_318 | AC | 39 ms
52,280 KB |
testcase_319 | AC | 38 ms
52,428 KB |
testcase_320 | AC | 39 ms
53,812 KB |
testcase_321 | AC | 38 ms
52,180 KB |
testcase_322 | AC | 39 ms
53,948 KB |
testcase_323 | AC | 38 ms
53,008 KB |
testcase_324 | AC | 39 ms
52,408 KB |
testcase_325 | AC | 38 ms
53,356 KB |
testcase_326 | WA | - |
testcase_327 | WA | - |
testcase_328 | WA | - |
testcase_329 | WA | - |
testcase_330 | WA | - |
testcase_331 | AC | 39 ms
53,188 KB |
testcase_332 | WA | - |
testcase_333 | WA | - |
testcase_334 | WA | - |
testcase_335 | AC | 38 ms
52,332 KB |
testcase_336 | AC | 39 ms
51,956 KB |
testcase_337 | AC | 37 ms
53,100 KB |
testcase_338 | AC | 38 ms
53,152 KB |
testcase_339 | WA | - |
testcase_340 | AC | 39 ms
52,060 KB |
testcase_341 | AC | 39 ms
53,284 KB |
testcase_342 | AC | 39 ms
53,428 KB |
testcase_343 | AC | 39 ms
53,208 KB |
testcase_344 | AC | 39 ms
52,948 KB |
testcase_345 | AC | 40 ms
52,248 KB |
testcase_346 | WA | - |
testcase_347 | AC | 40 ms
53,048 KB |
testcase_348 | WA | - |
testcase_349 | AC | 38 ms
52,980 KB |
testcase_350 | AC | 38 ms
52,736 KB |
testcase_351 | AC | 39 ms
52,916 KB |
testcase_352 | AC | 38 ms
52,464 KB |
testcase_353 | AC | 38 ms
52,536 KB |
testcase_354 | AC | 39 ms
53,268 KB |
testcase_355 | AC | 38 ms
53,088 KB |
testcase_356 | AC | 39 ms
53,600 KB |
testcase_357 | AC | 39 ms
53,216 KB |
testcase_358 | AC | 38 ms
53,040 KB |
testcase_359 | AC | 38 ms
52,568 KB |
testcase_360 | AC | 38 ms
53,084 KB |
testcase_361 | AC | 39 ms
53,428 KB |
testcase_362 | AC | 39 ms
52,828 KB |
testcase_363 | AC | 38 ms
52,948 KB |
testcase_364 | AC | 39 ms
52,448 KB |
testcase_365 | AC | 39 ms
53,060 KB |
ソースコード
def uruu(y): if y%4==0: if y%100==0 and y%400!=0: return False return True else: return False Y, N, D = map(int, input().split()) if uruu(Y-12): if D>30+31+30+31+31+30+31+30+31+31+28: print(max(0, N-D), min(N, 365-D)) else: print(max(0, N-D), min(N, 366-D)) else: if uruu(Y+1): print(max(0, N-D), min(N, 366-D)) else: print(max(0, N-D), min(N, 365-D))