結果
| 問題 | No.1089 三変数方程式 |
| ユーザー |
|
| 提出日時 | 2020-08-01 18:06:42 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 230 ms |
| コンパイル使用メモリ | 96,484 KB |
| 実行使用メモリ | 91,264 KB |
| 最終ジャッジ日時 | 2026-08-12 04:46:44 |
| 合計ジャッジ時間 | 4,620 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / 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)