結果
問題 |
No.3107 45^2
|
ユーザー |
|
提出日時 | 2025-04-18 22:19:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 700 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-04-18 22:19:23 |
合計ジャッジ時間 | 1,438 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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.")