結果
問題 | No.220 世界のなんとか2 |
ユーザー | tanukidon |
提出日時 | 2018-03-16 00:40:47 |
言語 | Ruby (3.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 102 bytes |
コンパイル時間 | 34 ms |
コンパイル使用メモリ | 11,420 KB |
実行使用メモリ | 176,100 KB |
最終ジャッジ日時 | 2023-08-23 11:31:01 |
合計ジャッジ時間 | 3,584 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 78 ms
19,476 KB |
testcase_01 | AC | 81 ms
15,032 KB |
testcase_02 | AC | 83 ms
14,984 KB |
testcase_03 | AC | 81 ms
15,548 KB |
testcase_04 | AC | 114 ms
16,768 KB |
testcase_05 | AC | 446 ms
31,028 KB |
testcase_06 | TLE | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
コンパイルメッセージ
Syntax OK
ソースコード
n = gets.to_i a =[*1..10**n] b = [] a.each{|i|b << i if i % 3 == 0 ||i.to_s.include?("3")} puts b.size