結果
| 問題 | No.1343 Dividing Digit |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-16 15:06:53 |
| 言語 | Ruby (4.0.2) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 74 bytes |
| 記録 | |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 9,216 KB |
| 実行使用メモリ | 114,088 KB |
| 最終ジャッジ日時 | 2026-05-21 22:57:29 |
| 合計ジャッジ時間 | 4,233 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | TLE * 1 -- * 21 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n Syntax OK
ソースコード
n,k,*a=`dd`.split.map &:to_i
m,x=a.sum,1
p a.reverse.sum{_1*x+0*x*=k%=m}%m