結果

問題 No.648  お や す み 
ユーザー cande398cande398
提出日時 2018-05-21 19:53:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 176 bytes
コンパイル時間 241 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 12,524 KB
最終ジャッジ日時 2023-09-11 01:01:01
合計ジャッジ時間 22,744 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,508 KB
testcase_01 AC 15 ms
8,180 KB
testcase_02 AC 16 ms
8,232 KB
testcase_03 AC 15 ms
8,188 KB
testcase_04 AC 15 ms
8,216 KB
testcase_05 AC 15 ms
8,188 KB
testcase_06 AC 15 ms
8,088 KB
testcase_07 AC 15 ms
8,100 KB
testcase_08 AC 15 ms
8,184 KB
testcase_09 AC 15 ms
8,088 KB
testcase_10 AC 15 ms
8,220 KB
testcase_11 AC 15 ms
8,180 KB
testcase_12 AC 15 ms
8,088 KB
testcase_13 AC 15 ms
8,220 KB
testcase_14 AC 15 ms
8,176 KB
testcase_15 AC 15 ms
8,236 KB
testcase_16 AC 16 ms
8,124 KB
testcase_17 AC 15 ms
8,136 KB
testcase_18 AC 15 ms
8,236 KB
testcase_19 AC 15 ms
8,228 KB
testcase_20 AC 17 ms
8,184 KB
testcase_21 AC 18 ms
8,068 KB
testcase_22 AC 17 ms
8,084 KB
testcase_23 AC 16 ms
8,184 KB
testcase_24 AC 15 ms
8,132 KB
testcase_25 AC 17 ms
8,084 KB
testcase_26 AC 15 ms
8,240 KB
testcase_27 AC 17 ms
8,164 KB
testcase_28 AC 17 ms
8,220 KB
testcase_29 AC 15 ms
8,188 KB
testcase_30 AC 23 ms
8,092 KB
testcase_31 AC 25 ms
8,136 KB
testcase_32 AC 23 ms
8,244 KB
testcase_33 AC 24 ms
8,088 KB
testcase_34 AC 25 ms
8,144 KB
testcase_35 AC 18 ms
8,096 KB
testcase_36 AC 17 ms
8,080 KB
testcase_37 AC 28 ms
8,264 KB
testcase_38 AC 23 ms
8,248 KB
testcase_39 AC 24 ms
8,068 KB
testcase_40 AC 29 ms
8,060 KB
testcase_41 AC 32 ms
8,220 KB
testcase_42 AC 29 ms
8,276 KB
testcase_43 AC 28 ms
8,232 KB
testcase_44 AC 21 ms
8,088 KB
testcase_45 AC 33 ms
8,220 KB
testcase_46 AC 21 ms
8,252 KB
testcase_47 AC 25 ms
8,136 KB
testcase_48 AC 24 ms
8,180 KB
testcase_49 AC 33 ms
8,264 KB
testcase_50 AC 1,399 ms
8,140 KB
testcase_51 AC 965 ms
8,180 KB
testcase_52 AC 1,471 ms
8,144 KB
testcase_53 TLE -
testcase_54 TLE -
testcase_55 AC 1,471 ms
8,136 KB
testcase_56 AC 1,904 ms
8,244 KB
testcase_57 TLE -
testcase_58 AC 1,851 ms
8,072 KB
testcase_59 AC 309 ms
8,244 KB
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')
        exit()
    i+=1
0