結果

問題 No.1089 三変数方程式
ユーザー 👑 KazunKazun
提出日時 2020-06-25 23:42:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 86,920 KB
実行使用メモリ 76,528 KB
最終ジャッジ日時 2023-09-16 23:11:49
合計ジャッジ時間 2,553 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,264 KB
testcase_01 AC 64 ms
71,456 KB
testcase_02 AC 78 ms
76,260 KB
testcase_03 AC 91 ms
76,148 KB
testcase_04 AC 69 ms
76,180 KB
testcase_05 AC 96 ms
76,312 KB
testcase_06 AC 77 ms
76,528 KB
testcase_07 AC 72 ms
76,052 KB
testcase_08 AC 93 ms
76,272 KB
testcase_09 AC 71 ms
76,308 KB
testcase_10 AC 87 ms
76,500 KB
testcase_11 AC 75 ms
76,356 KB
testcase_12 AC 83 ms
76,228 KB
testcase_13 AC 78 ms
76,204 KB
testcase_14 AC 88 ms
76,140 KB
testcase_15 AC 93 ms
76,040 KB
testcase_16 AC 90 ms
76,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())

T=0
for x in range(N+1):
    for y in range(N+1):
        if x+y<=N:
            T+=1

print(T)
0