結果

問題 No.3083 12歳
ユーザー pockynypockyny
提出日時 2021-04-01 22:35:29
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 377 bytes
コンパイル時間 514 ms
コンパイル使用メモリ 69,128 KB
実行使用メモリ 5,328 KB
最終ジャッジ日時 2023-08-23 06:30:14
合計ジャッジ時間 11,696 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 2 ms
4,376 KB
testcase_03 AC 1 ms
4,376 KB
testcase_04 AC 1 ms
4,376 KB
testcase_05 AC 2 ms
4,376 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 2 ms
4,376 KB
testcase_09 AC 1 ms
4,376 KB
testcase_10 AC 2 ms
4,376 KB
testcase_11 AC 1 ms
4,376 KB
testcase_12 AC 2 ms
4,376 KB
testcase_13 AC 1 ms
4,376 KB
testcase_14 AC 1 ms
4,376 KB
testcase_15 AC 2 ms
4,380 KB
testcase_16 AC 1 ms
4,380 KB
testcase_17 AC 2 ms
4,380 KB
testcase_18 AC 1 ms
4,376 KB
testcase_19 AC 1 ms
4,376 KB
testcase_20 AC 2 ms
4,376 KB
testcase_21 AC 2 ms
4,376 KB
testcase_22 AC 2 ms
4,376 KB
testcase_23 AC 1 ms
4,376 KB
testcase_24 AC 2 ms
4,380 KB
testcase_25 AC 1 ms
4,380 KB
testcase_26 AC 1 ms
4,376 KB
testcase_27 AC 1 ms
4,380 KB
testcase_28 AC 2 ms
4,376 KB
testcase_29 AC 2 ms
4,376 KB
testcase_30 AC 2 ms
4,376 KB
testcase_31 AC 1 ms
4,380 KB
testcase_32 AC 1 ms
4,380 KB
testcase_33 AC 2 ms
4,376 KB
testcase_34 AC 1 ms
4,380 KB
testcase_35 AC 2 ms
4,376 KB
testcase_36 AC 2 ms
4,376 KB
testcase_37 AC 1 ms
4,380 KB
testcase_38 AC 2 ms
4,376 KB
testcase_39 AC 2 ms
4,380 KB
testcase_40 AC 1 ms
4,380 KB
testcase_41 AC 1 ms
4,376 KB
testcase_42 AC 1 ms
4,376 KB
testcase_43 AC 1 ms
4,376 KB
testcase_44 AC 2 ms
4,380 KB
testcase_45 AC 1 ms
4,376 KB
testcase_46 AC 2 ms
4,380 KB
testcase_47 AC 2 ms
4,376 KB
testcase_48 AC 1 ms
4,376 KB
testcase_49 AC 2 ms
4,376 KB
testcase_50 AC 1 ms
4,380 KB
testcase_51 AC 2 ms
4,380 KB
testcase_52 AC 1 ms
4,380 KB
testcase_53 AC 1 ms
4,376 KB
testcase_54 AC 1 ms
4,376 KB
testcase_55 AC 1 ms
4,380 KB
testcase_56 AC 2 ms
4,384 KB
testcase_57 AC 2 ms
4,380 KB
testcase_58 AC 1 ms
4,376 KB
testcase_59 AC 2 ms
4,380 KB
testcase_60 WA -
testcase_61 AC 1 ms
4,376 KB
testcase_62 WA -
testcase_63 AC 2 ms
4,380 KB
testcase_64 AC 1 ms
4,380 KB
testcase_65 WA -
testcase_66 AC 1 ms
4,380 KB
testcase_67 AC 2 ms
4,380 KB
testcase_68 AC 2 ms
4,380 KB
testcase_69 WA -
testcase_70 WA -
testcase_71 AC 1 ms
4,376 KB
testcase_72 AC 1 ms
4,380 KB
testcase_73 WA -
testcase_74 AC 1 ms
4,380 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 2 ms
4,376 KB
testcase_86 AC 2 ms
4,376 KB
testcase_87 AC 1 ms
4,376 KB
testcase_88 WA -
testcase_89 WA -
testcase_90 WA -
testcase_91 WA -
testcase_92 WA -
testcase_93 WA -
testcase_94 AC 1 ms
4,376 KB
testcase_95 AC 2 ms
4,380 KB
testcase_96 WA -
testcase_97 WA -
testcase_98 AC 2 ms
4,380 KB
testcase_99 AC 2 ms
4,376 KB
testcase_100 WA -
testcase_101 WA -
testcase_102 WA -
testcase_103 AC 1 ms
4,380 KB
testcase_104 AC 1 ms
4,376 KB
testcase_105 AC 1 ms
4,376 KB
testcase_106 AC 2 ms
4,380 KB
testcase_107 AC 2 ms
4,380 KB
testcase_108 AC 1 ms
4,376 KB
testcase_109 AC 2 ms
4,376 KB
testcase_110 WA -
testcase_111 WA -
testcase_112 AC 2 ms
4,376 KB
testcase_113 AC 1 ms
4,376 KB
testcase_114 AC 2 ms
4,376 KB
testcase_115 AC 2 ms
4,380 KB
testcase_116 AC 1 ms
4,376 KB
testcase_117 WA -
testcase_118 AC 2 ms
4,376 KB
testcase_119 AC 1 ms
4,380 KB
testcase_120 AC 2 ms
4,380 KB
testcase_121 AC 2 ms
4,380 KB
testcase_122 WA -
testcase_123 AC 1 ms
4,376 KB
testcase_124 AC 2 ms
4,380 KB
testcase_125 AC 1 ms
4,376 KB
testcase_126 WA -
testcase_127 WA -
testcase_128 AC 1 ms
4,380 KB
testcase_129 AC 1 ms
4,376 KB
testcase_130 WA -
testcase_131 AC 1 ms
4,376 KB
testcase_132 WA -
testcase_133 WA -
testcase_134 WA -
testcase_135 WA -
testcase_136 WA -
testcase_137 WA -
testcase_138 WA -
testcase_139 WA -
testcase_140 WA -
testcase_141 WA -
testcase_142 AC 1 ms
4,380 KB
testcase_143 AC 2 ms
4,376 KB
testcase_144 AC 1 ms
4,380 KB
testcase_145 WA -
testcase_146 WA -
testcase_147 WA -
testcase_148 WA -
testcase_149 WA -
testcase_150 WA -
testcase_151 AC 2 ms
4,380 KB
testcase_152 AC 2 ms
4,376 KB
testcase_153 WA -
testcase_154 WA -
testcase_155 AC 2 ms
4,380 KB
testcase_156 AC 2 ms
4,380 KB
testcase_157 AC 1 ms
4,376 KB
testcase_158 WA -
testcase_159 WA -
testcase_160 AC 1 ms
4,376 KB
testcase_161 AC 2 ms
4,376 KB
testcase_162 AC 1 ms
4,376 KB
testcase_163 AC 1 ms
4,376 KB
testcase_164 AC 1 ms
4,376 KB
testcase_165 AC 2 ms
4,380 KB
testcase_166 AC 2 ms
4,380 KB
testcase_167 AC 1 ms
4,376 KB
testcase_168 WA -
testcase_169 AC 2 ms
4,376 KB
testcase_170 AC 2 ms
4,376 KB
testcase_171 AC 1 ms
4,380 KB
testcase_172 AC 2 ms
4,376 KB
testcase_173 AC 1 ms
4,376 KB
testcase_174 AC 1 ms
4,380 KB
testcase_175 AC 1 ms
4,380 KB
testcase_176 AC 1 ms
4,380 KB
testcase_177 RE -
testcase_178 AC 2 ms
4,380 KB
testcase_179 RE -
testcase_180 RE -
testcase_181 AC 2 ms
4,376 KB
testcase_182 AC 2 ms
4,376 KB
testcase_183 RE -
testcase_184 AC 2 ms
4,376 KB
testcase_185 RE -
testcase_186 RE -
testcase_187 AC 2 ms
4,376 KB
testcase_188 RE -
testcase_189 AC 2 ms
4,380 KB
testcase_190 AC 2 ms
4,376 KB
testcase_191 RE -
testcase_192 AC 2 ms
4,376 KB
testcase_193 AC 2 ms
4,380 KB
testcase_194 AC 2 ms
4,376 KB
testcase_195 RE -
testcase_196 RE -
testcase_197 AC 2 ms
4,376 KB
testcase_198 AC 1 ms
4,376 KB
testcase_199 AC 2 ms
4,376 KB
testcase_200 RE -
testcase_201 AC 1 ms
4,380 KB
testcase_202 RE -
testcase_203 AC 2 ms
4,380 KB
testcase_204 RE -
testcase_205 RE -
testcase_206 AC 1 ms
4,380 KB
testcase_207 RE -
testcase_208 AC 1 ms
4,376 KB
testcase_209 RE -
testcase_210 RE -
testcase_211 AC 2 ms
4,376 KB
testcase_212 AC 2 ms
4,376 KB
testcase_213 RE -
testcase_214 RE -
testcase_215 AC 2 ms
4,380 KB
testcase_216 RE -
testcase_217 AC 1 ms
4,376 KB
testcase_218 AC 1 ms
4,380 KB
testcase_219 RE -
testcase_220 RE -
testcase_221 RE -
testcase_222 RE -
testcase_223 RE -
testcase_224 AC 2 ms
4,380 KB
testcase_225 RE -
testcase_226 AC 2 ms
4,376 KB
testcase_227 RE -
testcase_228 RE -
testcase_229 RE -
testcase_230 RE -
testcase_231 RE -
testcase_232 RE -
testcase_233 RE -
testcase_234 RE -
testcase_235 RE -
testcase_236 RE -
testcase_237 RE -
testcase_238 RE -
testcase_239 RE -
testcase_240 RE -
testcase_241 RE -
testcase_242 RE -
testcase_243 RE -
testcase_244 RE -
testcase_245 RE -
testcase_246 RE -
testcase_247 RE -
testcase_248 RE -
testcase_249 RE -
testcase_250 RE -
testcase_251 RE -
testcase_252 RE -
testcase_253 RE -
testcase_254 RE -
testcase_255 RE -
testcase_256 RE -
testcase_257 RE -
testcase_258 RE -
testcase_259 RE -
testcase_260 RE -
testcase_261 RE -
testcase_262 RE -
testcase_263 RE -
testcase_264 RE -
testcase_265 RE -
testcase_266 RE -
testcase_267 RE -
testcase_268 RE -
testcase_269 RE -
testcase_270 RE -
testcase_271 RE -
testcase_272 RE -
testcase_273 RE -
testcase_274 RE -
testcase_275 RE -
testcase_276 RE -
testcase_277 RE -
testcase_278 RE -
testcase_279 RE -
testcase_280 RE -
testcase_281 RE -
testcase_282 RE -
testcase_283 RE -
testcase_284 RE -
testcase_285 RE -
testcase_286 RE -
testcase_287 AC 1 ms
4,376 KB
testcase_288 WA -
testcase_289 AC 2 ms
4,380 KB
testcase_290 AC 1 ms
4,380 KB
testcase_291 AC 1 ms
4,376 KB
testcase_292 AC 1 ms
4,376 KB
testcase_293 WA -
testcase_294 AC 2 ms
4,376 KB
testcase_295 AC 2 ms
4,376 KB
testcase_296 AC 2 ms
4,376 KB
testcase_297 WA -
testcase_298 WA -
testcase_299 AC 1 ms
4,380 KB
testcase_300 AC 2 ms
4,376 KB
testcase_301 WA -
testcase_302 AC 2 ms
4,376 KB
testcase_303 WA -
testcase_304 WA -
testcase_305 WA -
testcase_306 WA -
testcase_307 WA -
testcase_308 WA -
testcase_309 WA -
testcase_310 WA -
testcase_311 WA -
testcase_312 WA -
testcase_313 AC 2 ms
4,380 KB
testcase_314 AC 1 ms
4,376 KB
testcase_315 AC 2 ms
4,376 KB
testcase_316 WA -
testcase_317 WA -
testcase_318 WA -
testcase_319 WA -
testcase_320 WA -
testcase_321 WA -
testcase_322 AC 2 ms
4,380 KB
testcase_323 AC 2 ms
4,376 KB
testcase_324 WA -
testcase_325 WA -
testcase_326 AC 2 ms
4,376 KB
testcase_327 AC 1 ms
4,376 KB
testcase_328 AC 1 ms
4,376 KB
testcase_329 WA -
testcase_330 WA -
testcase_331 AC 2 ms
4,380 KB
testcase_332 AC 2 ms
4,376 KB
testcase_333 AC 2 ms
4,380 KB
testcase_334 AC 2 ms
4,376 KB
testcase_335 AC 1 ms
4,376 KB
testcase_336 AC 1 ms
4,380 KB
testcase_337 AC 2 ms
4,376 KB
testcase_338 AC 1 ms
4,380 KB
testcase_339 WA -
testcase_340 AC 2 ms
4,376 KB
testcase_341 AC 1 ms
4,376 KB
testcase_342 AC 2 ms
4,376 KB
testcase_343 AC 1 ms
4,376 KB
testcase_344 AC 2 ms
4,380 KB
testcase_345 AC 2 ms
4,376 KB
testcase_346 WA -
testcase_347 AC 1 ms
4,376 KB
testcase_348 WA -
testcase_349 AC 1 ms
4,380 KB
testcase_350 AC 2 ms
4,376 KB
testcase_351 AC 2 ms
4,376 KB
testcase_352 AC 2 ms
4,376 KB
testcase_353 AC 2 ms
4,380 KB
testcase_354 AC 1 ms
4,380 KB
testcase_355 AC 1 ms
4,376 KB
testcase_356 AC 2 ms
4,376 KB
testcase_357 AC 2 ms
4,380 KB
testcase_358 AC 2 ms
4,380 KB
testcase_359 AC 2 ms
4,376 KB
testcase_360 AC 2 ms
4,376 KB
testcase_361 AC 1 ms
4,376 KB
testcase_362 AC 2 ms
4,376 KB
testcase_363 AC 1 ms
4,376 KB
testcase_364 AC 2 ms
4,376 KB
testcase_365 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;
int main(){
    int y,n,d; cin >> y >> n >> d;
    cout << max(0,n - d) << " ";
    y++;
    if(y%100!=0){
        if(y%4!=0) cout << min(n,365 - d) << endl;
        else cout << min(n,366 - d) << endl;
    }else{
        exit(1);
        if(y%40!=0) cout << min(n,365 - d) << endl;
        else cout << min(n,366 - d) << endl;
    }
}
0