結果
| 問題 |
No.2729 Addition and Multiplication in yukicoder (Easy)
|
| コンテスト | |
| ユーザー |
kusirakusira
|
| 提出日時 | 2024-04-04 18:07:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| コンパイル時間 | 557 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 112,148 KB |
| 最終ジャッジ日時 | 2024-10-01 00:28:56 |
| 合計ジャッジ時間 | 5,036 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 WA * 15 |
ソースコード
n = int(input())
A = list(map(int, input().split()))
mod = 998244353
if((1<=n<=10**5)==False): print("No")
A.sort()
x = 0
for i in range(n):
x = x * 10 + A[i]
x %= mod
if((1<=A[i]<=10**18) == False):
print("No")
print(x)
kusirakusira