結果
| 問題 | No.2729 Addition and Multiplication in yukicoder (Easy) |
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-11-07 21:41:22 |
| 言語 | Go (1.26.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 10,393 ms |
| コンパイル使用メモリ | 276,736 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2026-05-08 05:14:53 |
| 合計ジャッジ時間 | 27,224 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 17 TLE * 1 |
ソースコード
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