結果
問題 | No.782 マイナス進数 |
ユーザー |
|
提出日時 | 2019-01-24 09:54:25 |
言語 | Crystal (1.14.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 167 bytes |
コンパイル時間 | 12,754 ms |
コンパイル使用メモリ | 305,636 KB |
実行使用メモリ | 13,768 KB |
最終ジャッジ日時 | 2024-06-30 19:44:49 |
合計ジャッジ時間 | 25,078 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | OLE * 6 -- * 30 |
ソースコード
a=ARGF.gets_to_end.split.map &.to_it,b=a.shift 2a.each{|e|e<1&&(p 0;next)puts String.build{|s|while e!=0s<<(e%-b).to_se/=-be=-eend}.reverse}