結果

問題 No.1089 三変数方程式
ユーザー 👑 rin204rin204
提出日時 2020-07-04 18:11:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,358 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 11,800 KB
実行使用メモリ 10,128 KB
最終ジャッジ日時 2023-10-19 10:11:50
合計ジャッジ時間 10,639 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,128 KB
testcase_01 AC 30 ms
10,128 KB
testcase_02 AC 52 ms
10,128 KB
testcase_03 AC 876 ms
10,128 KB
testcase_04 AC 73 ms
10,128 KB
testcase_05 AC 1,358 ms
10,128 KB
testcase_06 AC 320 ms
10,128 KB
testcase_07 AC 155 ms
10,128 KB
testcase_08 AC 1,102 ms
10,128 KB
testcase_09 AC 61 ms
10,128 KB
testcase_10 AC 959 ms
10,128 KB
testcase_11 AC 308 ms
10,128 KB
testcase_12 AC 728 ms
10,128 KB
testcase_13 AC 314 ms
10,128 KB
testcase_14 AC 850 ms
10,128 KB
testcase_15 AC 1,113 ms
10,128 KB
testcase_16 AC 980 ms
10,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 0 
for i in range(n + 1):
    for j in range(n + 1):
        if i + j <= n:
            ans += 1
print(ans)
0