結果
| 問題 |
No.8051 cracked
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-02-19 01:26:36 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 381 bytes |
| コンパイル時間 | 160 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 29,400 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2024-07-22 23:01:35 |
| 合計ジャッジ時間 | 8,706 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 24 |
コンパイルメッセージ
Main.rb:6: warning: possibly useless use of a literal in void context Main.rb:7: warning: possibly useless use of a literal in void context Main.rb:8: warning: possibly useless use of a literal in void context Main.rb:9: warning: possibly useless use of a literal in void context Main.rb:10: warning: possibly useless use of a literal in void context Main.rb:5: warning: possibly useless use of a literal in void context Main.rb:2: warning: possibly useless use of a literal in void context Main.rb:3: warning: possibly useless use of a literal in void context Main.rb:4: warning: possibly useless use of a literal in void context Main.rb:13: warning: possibly useless use of a literal in void context Syntax OK
ソースコード
#define __END__ int main(){return 0;}
//;bef = IO.read(__FILE__)
//;aft = $<.read(bef.bytesize-1)
//;bef.chars.zip(aft.chars).each_with_index do |cc,i|
//; if cc[0] != cc[1]
//; p i
//; puts '"'+cc[0]+'"'
//; puts '"'+cc[1]+'"'
//; STDOUT.flush
//; exit
//; end
//;end
//;abort "RE: bef.len=#{bef.bytesize}, aft.len=#{aft.bytesize}"
__END__