結果
| 問題 | No.1593 Perfect Distance |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-09 21:49:55 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 133 bytes |
| 記録 | |
| コンパイル時間 | 215 ms |
| コンパイル使用メモリ | 85,608 KB |
| 実行使用メモリ | 61,488 KB |
| 最終ジャッジ日時 | 2026-03-22 18:09:36 |
| 合計ジャッジ時間 | 1,448 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 17 |
ソースコード
N = int(input())
cnt = 0
for i in range(448):
for j in range(448):
if i**2+j**2 == N**2:
cnt += 1
print(cnt)