結果

問題 No.2729 Addition and Multiplication in yukicoder (Easy)
ユーザー hato336hato336
提出日時 2024-04-19 21:22:44
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 427 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 82,332 KB
実行使用メモリ 123,240 KB
最終ジャッジ日時 2024-04-19 21:23:03
合計ジャッジ時間 4,641 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 112 ms
85,872 KB
testcase_02 AC 209 ms
122,972 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 114 ms
85,776 KB
testcase_10 AC 112 ms
85,700 KB
testcase_11 AC 115 ms
85,796 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline
#n = int(input())
#alist = list(map(int,input().split()))
#alist = []
#s = input()
n = int(input())
alist = list(map(int,input().split()))
mod = 998244353
ans = 0
for i in range(n):
    ans *= 10
    ans += alist[i]
    ans %= mod
print(ans)
0