結果
問題 | No.2592 おでぶなおばけさん 2 |
ユーザー | 👑 p-adic |
提出日時 | 2023-12-20 21:48:32 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 314 bytes |
コンパイル時間 | 644 ms |
コンパイル使用メモリ | 81,700 KB |
実行使用メモリ | 90,412 KB |
最終ジャッジ日時 | 2023-12-20 21:49:01 |
合計ジャッジ時間 | 24,734 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 38 ms
53,460 KB |
testcase_01 | AC | 98 ms
80,972 KB |
testcase_02 | AC | 176 ms
79,912 KB |
testcase_03 | AC | 125 ms
76,592 KB |
testcase_04 | AC | 147 ms
76,860 KB |
testcase_05 | AC | 159 ms
90,412 KB |
testcase_06 | AC | 1,367 ms
79,820 KB |
testcase_07 | AC | 2,020 ms
79,716 KB |
testcase_08 | AC | 1,650 ms
83,556 KB |
testcase_09 | AC | 344 ms
77,160 KB |
testcase_10 | AC | 373 ms
76,656 KB |
testcase_11 | AC | 1,607 ms
83,628 KB |
testcase_12 | AC | 210 ms
76,572 KB |
testcase_13 | AC | 333 ms
84,992 KB |
testcase_14 | AC | 319 ms
85,060 KB |
testcase_15 | AC | 322 ms
81,424 KB |
testcase_16 | AC | 318 ms
85,032 KB |
testcase_17 | AC | 320 ms
88,052 KB |
testcase_18 | AC | 309 ms
81,464 KB |
testcase_19 | AC | 304 ms
78,580 KB |
testcase_20 | TLE | - |
testcase_21 | AC | 1,686 ms
77,204 KB |
testcase_22 | TLE | - |
testcase_23 | -- | - |
testcase_24 | -- | - |
testcase_25 | -- | - |
testcase_26 | -- | - |
testcase_27 | -- | - |
testcase_28 | -- | - |
testcase_29 | -- | - |
testcase_30 | -- | - |
testcase_31 | -- | - |
testcase_32 | -- | - |
testcase_33 | -- | - |
testcase_34 | -- | - |
testcase_35 | -- | - |
testcase_36 | -- | - |
testcase_37 | -- | - |
testcase_38 | -- | - |
testcase_39 | -- | - |
testcase_40 | -- | - |
testcase_41 | -- | - |
testcase_42 | -- | - |
testcase_43 | -- | - |
testcase_44 | -- | - |
testcase_45 | -- | - |
testcase_46 | -- | - |
testcase_47 | -- | - |
testcase_48 | -- | - |
testcase_49 | -- | - |
testcase_50 | -- | - |
testcase_51 | -- | - |
testcase_52 | -- | - |
testcase_53 | -- | - |
testcase_54 | -- | - |
testcase_55 | -- | - |
testcase_56 | -- | - |
testcase_57 | -- | - |
testcase_58 | -- | - |
testcase_59 | -- | - |
testcase_60 | -- | - |
testcase_61 | -- | - |
testcase_62 | -- | - |
testcase_63 | -- | - |
testcase_64 | -- | - |
testcase_65 | -- | - |
testcase_66 | -- | - |
testcase_67 | -- | - |
testcase_68 | -- | - |
testcase_69 | -- | - |
testcase_70 | -- | - |
testcase_71 | -- | - |
testcase_72 | -- | - |
testcase_73 | -- | - |
testcase_74 | -- | - |
testcase_75 | -- | - |
testcase_76 | -- | - |
testcase_77 | -- | - |
testcase_78 | -- | - |
testcase_79 | -- | - |
testcase_80 | -- | - |
testcase_81 | -- | - |
testcase_82 | -- | - |
testcase_83 | -- | - |
ソースコード
#クエリごとにkが変わっても大丈夫! #と見せかけてテストケースが強いとTLEする嘘解法 R=range J=lambda:map(int,input().split()) N,Q,K=J() A=list(J()) for q in R(Q): l,r=J() t,b=0,1 for i in R(l-1,r): t+=A[i] if t%K: b=0 break t//=K else:b=t==0 print("YNeos"[b::2])