結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー vockyXvockyX
提出日時 2016-11-18 22:31:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 286 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-05-04 17:47:27
合計ジャッジ時間 1,070 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
10,624 KB
testcase_01 AC 27 ms
10,752 KB
testcase_02 AC 26 ms
10,752 KB
testcase_03 RE -
testcase_04 AC 25 ms
10,496 KB
testcase_05 AC 25 ms
10,496 KB
testcase_06 AC 24 ms
10,752 KB
testcase_07 RE -
testcase_08 AC 24 ms
10,752 KB
testcase_09 RE -
testcase_10 AC 26 ms
10,624 KB
testcase_11 AC 25 ms
10,624 KB
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

def isInt(string):
	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")

0