結果
| 問題 |
No.2729 Addition and Multiplication in yukicoder (Easy)
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-11-07 21:41:22 |
| 言語 | Go (1.23.4) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 237 bytes |
| コンパイル時間 | 14,600 ms |
| コンパイル使用メモリ | 221,992 KB |
| 実行使用メモリ | 13,640 KB |
| 最終ジャッジ日時 | 2024-11-07 21:41:42 |
| 合計ジャッジ時間 | 19,506 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | TLE * 1 -- * 17 |
ソースコード
package main
import . "fmt"
import . "slices"
func main() {
var n int
Scan(&n)
a:=make([]int64,n)
for i:=range a {
Scan(&a[i])
}
Sort(a)
var x int64
const m=998244353
for _,v:=range a {
x=x*10%m+v%m
x%=m
}
Println(x)
}
ID 21712