結果
問題 | No.2729 Addition and Multiplication in yukicoder (Easy) |
ユーザー |
|
提出日時 | 2024-04-19 21:26:30 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 629 ms / 2,000 ms |
コード長 | 194 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 81,916 KB |
実行使用メモリ | 129,868 KB |
最終ジャッジ日時 | 2024-10-11 13:57:00 |
合計ジャッジ時間 | 9,299 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
N=int(input())A=list(map(int,input().split()))B=[]for i,a in enumerate(A):B.append((a,i))B.sort()C=[]for a,i in B:C.append(i)x=0for c in C:x=(10*x+A[c])%998244353print(x)