結果
| 問題 | No.1089 三変数方程式 |
| ユーザー |
|
| 提出日時 | 2020-08-01 18:06:42 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 259 ms |
| コンパイル使用メモリ | 85,276 KB |
| 実行使用メモリ | 67,364 KB |
| 最終ジャッジ日時 | 2026-03-29 19:20:13 |
| 合計ジャッジ時間 | 4,721 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 15 |
ソースコード
import sys
sys.stdin = open("stdin.txt")
input = sys.stdin.readline
N = int(input())
ans = 0
for x in range(N + 1):
for y in range(N + 1):
z = N - x - y
if z >= 0:
ans += 1
print(ans)