結果
| 問題 | No.3107 45^2 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-18 22:19:21 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 235 bytes |
| 記録 | |
| コンパイル時間 | 286 ms |
| コンパイル使用メモリ | 21,408 KB |
| 実行使用メモリ | 15,872 KB |
| 最終ジャッジ日時 | 2026-07-09 19:21:38 |
| 合計ジャッジ時間 | 2,642 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 12 |
ソースコード
# Ask the user for input
N = int(input("Enter an integer N (1 ≤ N ≤ 45): "))
# Check if N is within the valid range
if 1 <= N <= 45:
print("N squared is:", N ** 2)
else:
print("Invalid input. N must be between 1 and 45.")