結果

問題 No.648  お や す み 
ユーザー cande398cande398
提出日時 2018-05-21 19:51:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 10,592 KB
実行使用メモリ 15,356 KB
最終ジャッジ日時 2023-09-11 01:00:37
合計ジャッジ時間 24,355 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
8,232 KB
testcase_02 WA -
testcase_03 AC 16 ms
8,196 KB
testcase_04 AC 16 ms
8,272 KB
testcase_05 WA -
testcase_06 AC 15 ms
8,072 KB
testcase_07 AC 15 ms
8,124 KB
testcase_08 AC 15 ms
8,036 KB
testcase_09 WA -
testcase_10 AC 15 ms
8,208 KB
testcase_11 AC 15 ms
8,108 KB
testcase_12 AC 15 ms
8,096 KB
testcase_13 AC 15 ms
8,036 KB
testcase_14 AC 15 ms
8,260 KB
testcase_15 AC 16 ms
8,212 KB
testcase_16 AC 15 ms
8,072 KB
testcase_17 AC 16 ms
8,148 KB
testcase_18 AC 15 ms
8,076 KB
testcase_19 AC 16 ms
8,100 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 23 ms
8,148 KB
testcase_31 AC 27 ms
8,156 KB
testcase_32 AC 23 ms
8,160 KB
testcase_33 AC 25 ms
8,220 KB
testcase_34 AC 25 ms
8,248 KB
testcase_35 AC 18 ms
8,100 KB
testcase_36 AC 18 ms
8,036 KB
testcase_37 AC 29 ms
8,088 KB
testcase_38 AC 25 ms
8,080 KB
testcase_39 AC 24 ms
8,140 KB
testcase_40 AC 29 ms
8,224 KB
testcase_41 AC 31 ms
8,080 KB
testcase_42 AC 31 ms
8,264 KB
testcase_43 AC 29 ms
8,192 KB
testcase_44 AC 21 ms
8,080 KB
testcase_45 AC 33 ms
8,088 KB
testcase_46 AC 20 ms
8,156 KB
testcase_47 AC 25 ms
8,188 KB
testcase_48 AC 26 ms
8,140 KB
testcase_49 AC 33 ms
8,216 KB
testcase_50 WA -
testcase_51 WA -
testcase_52 WA -
testcase_53 TLE -
testcase_54 TLE -
testcase_55 WA -
testcase_56 WA -
testcase_57 TLE -
testcase_58 WA -
testcase_59 WA -
testcase_60 TLE -
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 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

i=1
x=int(input())
count=0
while True:
    count+=i
    if count>x:
        print('NO')
        exit()
    if count==x:
        print('YES',i,sep='\n')
    i+=1
0