結果
問題 | No.446 ゆきこーだーの雨と雪 (1) |
ユーザー |
![]() |
提出日時 | 2016-11-18 22:32:22 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 321 bytes |
コンパイル時間 | 194 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-26 07:13:41 |
合計ジャッジ時間 | 1,237 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 8 WA * 1 RE * 4 |
ソースコード
def isInt(string): if string[0]=="0": return False for i in string: if i not in ["1","2","3","4","5","6","7","8","9","0"]: return False return True if __name__=="__main__": a=input() b=input() if isInt(a) and isInt(b): if 0<=int(a)<=12345 and 0<=int(b)<=12345: print("OK") exit(1) print("NG")