結果

問題 No.648  お や す み 
ユーザー kryu_______2740kryu_______2740
提出日時 2018-02-22 16:03:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 208,756 KB
最終ジャッジ日時 2024-04-09 20:04:16
合計ジャッジ時間 150,245 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,666 ms
206,680 KB
testcase_01 AC 1,722 ms
208,440 KB
testcase_02 AC 1,682 ms
206,760 KB
testcase_03 AC 1,870 ms
206,752 KB
testcase_04 AC 1,713 ms
208,056 KB
testcase_05 AC 1,664 ms
208,540 KB
testcase_06 AC 1,717 ms
206,908 KB
testcase_07 AC 1,798 ms
206,700 KB
testcase_08 AC 1,759 ms
207,936 KB
testcase_09 AC 1,670 ms
208,384 KB
testcase_10 AC 1,726 ms
206,828 KB
testcase_11 AC 1,737 ms
206,680 KB
testcase_12 AC 1,738 ms
208,008 KB
testcase_13 AC 1,752 ms
208,072 KB
testcase_14 AC 1,731 ms
206,688 KB
testcase_15 AC 1,785 ms
206,700 KB
testcase_16 AC 1,725 ms
208,548 KB
testcase_17 AC 1,717 ms
206,708 KB
testcase_18 AC 1,752 ms
206,744 KB
testcase_19 AC 1,727 ms
208,296 KB
testcase_20 AC 1,680 ms
206,796 KB
testcase_21 AC 1,695 ms
206,724 KB
testcase_22 AC 1,645 ms
206,880 KB
testcase_23 AC 1,659 ms
206,856 KB
testcase_24 AC 1,713 ms
206,772 KB
testcase_25 AC 1,650 ms
208,344 KB
testcase_26 AC 1,648 ms
208,220 KB
testcase_27 AC 1,723 ms
206,748 KB
testcase_28 AC 1,670 ms
206,680 KB
testcase_29 AC 1,693 ms
206,844 KB
testcase_30 AC 1,744 ms
206,724 KB
testcase_31 AC 1,870 ms
208,384 KB
testcase_32 AC 1,728 ms
206,728 KB
testcase_33 AC 1,823 ms
206,840 KB
testcase_34 AC 1,781 ms
207,984 KB
testcase_35 AC 1,730 ms
208,212 KB
testcase_36 AC 1,735 ms
206,828 KB
testcase_37 AC 1,724 ms
208,164 KB
testcase_38 AC 1,731 ms
206,812 KB
testcase_39 AC 1,756 ms
206,740 KB
testcase_40 AC 1,805 ms
206,816 KB
testcase_41 AC 1,716 ms
206,716 KB
testcase_42 AC 1,751 ms
208,364 KB
testcase_43 AC 1,802 ms
207,000 KB
testcase_44 AC 1,730 ms
206,820 KB
testcase_45 AC 1,745 ms
206,696 KB
testcase_46 AC 1,728 ms
206,744 KB
testcase_47 AC 1,826 ms
206,844 KB
testcase_48 AC 1,772 ms
206,696 KB
testcase_49 AC 1,838 ms
206,768 KB
testcase_50 AC 1,809 ms
206,884 KB
testcase_51 AC 1,787 ms
206,752 KB
testcase_52 AC 1,796 ms
206,712 KB
testcase_53 WA -
testcase_54 WA -
testcase_55 WA -
testcase_56 WA -
testcase_57 WA -
testcase_58 WA -
testcase_59 AC 1,718 ms
206,876 KB
testcase_60 AC 1,726 ms
206,744 KB
testcase_61 AC 1,732 ms
206,672 KB
testcase_62 AC 1,732 ms
206,788 KB
testcase_63 AC 1,719 ms
206,916 KB
testcase_64 AC 1,732 ms
206,744 KB
testcase_65 AC 1,763 ms
206,832 KB
testcase_66 AC 1,744 ms
206,904 KB
testcase_67 AC 1,857 ms
206,736 KB
testcase_68 AC 1,709 ms
207,880 KB
testcase_69 AC 1,813 ms
208,756 KB
testcase_70 AC 1,802 ms
206,692 KB
testcase_71 AC 1,764 ms
206,876 KB
testcase_72 AC 1,772 ms
208,384 KB
testcase_73 AC 1,770 ms
206,788 KB
testcase_74 AC 1,731 ms
206,672 KB
testcase_75 AC 1,974 ms
206,792 KB
testcase_76 AC 1,799 ms
206,792 KB
testcase_77 WA -
testcase_78 WA -
testcase_79 WA -
testcase_80 WA -
testcase_81 WA -
testcase_82 AC 1,734 ms
206,716 KB
testcase_83 AC 1,686 ms
206,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#goodnight

A = range(1,5000000)
A = [int(1/2*x*(x-1)) for x in A]

goodnight = int(input())
if (goodnight in A ):
    print("YES")
    print(A.index(goodnight))
else:
    print("NO")
0