結果

問題 No.906 Y字グラフ
ユーザー d_q_kd_q_k
提出日時 2019-10-13 21:45:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 178 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 12,412 KB
最終ジャッジ日時 2023-08-22 16:37:08
合計ジャッジ時間 8,293 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,392 KB
testcase_01 AC 17 ms
7,872 KB
testcase_02 AC 16 ms
7,888 KB
testcase_03 AC 18 ms
7,816 KB
testcase_04 AC 17 ms
7,824 KB
testcase_05 AC 24 ms
7,924 KB
testcase_06 AC 31 ms
7,848 KB
testcase_07 AC 32 ms
7,864 KB
testcase_08 AC 196 ms
7,976 KB
testcase_09 AC 651 ms
7,856 KB
testcase_10 AC 1,437 ms
7,964 KB
testcase_11 AC 1,758 ms
7,856 KB
testcase_12 TLE -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

hoge = int(input())
count=0
for i in range(1,hoge):
    for j in range(i,hoge//2):
        if j*2+i<hoge:
            count=count+1
        else :
            break
print(count)
0