結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 112 ms
85,760 KB
testcase_02 AC 206 ms
123,008 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 113 ms
85,792 KB
testcase_10 AC 114 ms
85,988 KB
testcase_11 AC 121 ms
85,760 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