結果
問題 | No.522 Make Test Cases(テストケースを作る) |
ユーザー | warabi0906 |
提出日時 | 2023-03-16 07:59:00 |
言語 | Ruby (3.3.0) |
結果 |
AC
|
実行時間 | 1,174 ms / 2,000 ms |
コード長 | 128 bytes |
コンパイル時間 | 445 ms |
コンパイル使用メモリ | 11,920 KB |
実行使用メモリ | 16,168 KB |
最終ジャッジ日時 | 2023-10-18 12:54:37 |
合計ジャッジ時間 | 7,269 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 94 ms
16,168 KB |
testcase_01 | AC | 119 ms
16,168 KB |
testcase_02 | AC | 111 ms
16,168 KB |
testcase_03 | AC | 159 ms
16,168 KB |
testcase_04 | AC | 83 ms
16,060 KB |
testcase_05 | AC | 82 ms
16,060 KB |
testcase_06 | AC | 82 ms
16,060 KB |
testcase_07 | AC | 82 ms
16,060 KB |
testcase_08 | AC | 87 ms
16,060 KB |
testcase_09 | AC | 138 ms
16,168 KB |
testcase_10 | AC | 1,174 ms
16,168 KB |
コンパイルメッセージ
Syntax OK
ソースコード
N=gets.to_i for i in 1..N for j in i..N if j<=(N-i-j) puts("#{i} #{j} #{N-i-j}") end end end