結果

問題 No.906 Y字グラフ
ユーザー d_q_kd_q_k
提出日時 2019-10-13 21:24:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 237 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 10,708 KB
実行使用メモリ 15,832 KB
最終ジャッジ日時 2023-08-22 16:11:34
合計ジャッジ時間 7,341 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
15,832 KB
testcase_01 AC 16 ms
7,764 KB
testcase_02 AC 23 ms
7,840 KB
testcase_03 AC 158 ms
7,800 KB
testcase_04 AC 242 ms
7,856 KB
testcase_05 TLE -
testcase_06 TLE -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
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//3+1):
        for j in range(i,hoge//2+1):
            for t in range(j,hoge):
                if i+j+t==hoge-1:
                    count=count+1
                    break
print(count)
0