結果
問題 | No.722 100×100=1000 |
ユーザー | wonda_t_coffee |
提出日時 | 2020-02-10 10:20:05 |
言語 | Ruby (3.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 266 bytes |
コンパイル時間 | 52 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 23,060 KB |
最終ジャッジ日時 | 2024-04-08 12:50:23 |
合計ジャッジ時間 | 4,950 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 101 ms
23,060 KB |
testcase_01 | AC | 93 ms
16,256 KB |
testcase_02 | AC | 92 ms
16,256 KB |
testcase_03 | AC | 90 ms
16,256 KB |
testcase_04 | AC | 90 ms
16,256 KB |
testcase_05 | AC | 92 ms
16,256 KB |
testcase_06 | AC | 89 ms
16,256 KB |
testcase_07 | AC | 89 ms
16,256 KB |
testcase_08 | AC | 90 ms
16,256 KB |
testcase_09 | AC | 90 ms
16,256 KB |
testcase_10 | AC | 89 ms
16,256 KB |
testcase_11 | AC | 90 ms
16,256 KB |
testcase_12 | AC | 91 ms
16,256 KB |
testcase_13 | TLE | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
testcase_22 | -- | - |
testcase_23 | -- | - |
testcase_24 | -- | - |
testcase_25 | -- | - |
testcase_26 | -- | - |
testcase_27 | -- | - |
testcase_28 | -- | - |
testcase_29 | -- | - |
testcase_30 | -- | - |
コンパイルメッセージ
Syntax OK
ソースコード
def anzanable?(a) a = a.abs return false if a % 100 > 0 while a % 10 == 0 a /= 10 end a < 10 end a, b = gets.chomp.split.map(&:to_i) if anzanable?(a) && anzanable?(b) puts a * b / 10 elsif (a * b).abs <= 99999999 puts a * b else puts "E" end