結果
問題 | No.446 ゆきこーだーの雨と雪 (1) |
ユーザー | akitsugu777 |
提出日時 | 2019-07-02 11:41:07 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 301 ms |
コンパイル使用メモリ | 10,640 KB |
実行使用メモリ | 8,168 KB |
最終ジャッジ日時 | 2023-09-27 10:01:51 |
合計ジャッジ時間 | 1,674 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 14 ms
8,024 KB |
testcase_01 | AC | 13 ms
8,120 KB |
testcase_02 | AC | 13 ms
7,992 KB |
testcase_03 | AC | 13 ms
7,872 KB |
testcase_04 | AC | 13 ms
8,020 KB |
testcase_05 | AC | 14 ms
8,036 KB |
testcase_06 | WA | - |
testcase_07 | AC | 13 ms
8,168 KB |
testcase_08 | WA | - |
testcase_09 | AC | 13 ms
8,088 KB |
testcase_10 | AC | 14 ms
8,032 KB |
testcase_11 | AC | 14 ms
7,976 KB |
testcase_12 | AC | 13 ms
7,864 KB |
testcase_13 | AC | 13 ms
7,780 KB |
testcase_14 | AC | 14 ms
7,784 KB |
testcase_15 | AC | 14 ms
7,780 KB |
testcase_16 | AC | 13 ms
7,864 KB |
ソースコード
a = input() b = input() for i in a: if i.isdigit() != True: print('NG') exit() for i in b: if i.isdigit() != True: print('NG') exit() A = str(int(a)) B = str(int(b)) if len(a) != len(A): print('NG') exit() if len(b) != len(B): print('NG') exit() print('OK')