結果
問題 |
No.2734 Addition and Multiplication in yukicoder (Hard)
|
ユーザー |
![]() |
提出日時 | 2024-04-14 20:03:11 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 364 bytes |
コンパイル時間 | 321 ms |
コンパイル使用メモリ | 82,484 KB |
実行使用メモリ | 106,496 KB |
最終ジャッジ日時 | 2024-10-03 22:23:20 |
合計ジャッジ時間 | 4,523 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 36 |
ソースコード
from sys import stdin def read(): line = stdin.readline() if not line: raise EOFError assert line[-1] == "\n" line = line[:-1] assert line.strip() == line return line n = int(read()) assert 1 <= n <= 2 * 10 ** 5 A = [*map(int, read().split())] assert len(A) == n assert all(1 <= a <= 10**18 for a in A) try: read() assert False except EOFError: pass