結果
問題 | No.446 ゆきこーだーの雨と雪 (1) |
ユーザー |
![]() |
提出日時 | 2019-10-08 21:43:33 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 441 bytes |
コンパイル時間 | 293 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-07 18:11:40 |
合計ジャッジ時間 | 1,556 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
A = input()B = input()try :a = int(A)if str(a) != A :print("NG")exit()elif (a < 0) or (a > 12345) :print("NG")exit()except Exception as error :print("NG")exit()try :b = int(B)if str(b) != B :print("NG")exit()elif (b < 0) or (b > 12345) :print("NG")exit()except Exception as error :print("NG")exit()print("OK")