結果
| 問題 | No.1237 EXP Multiple! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-26 10:59:50 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 210 bytes |
| 記録 | |
| コンパイル時間 | 836 ms |
| コンパイル使用メモリ | 84,916 KB |
| 実行使用メモリ | 209,560 KB |
| 最終ジャッジ日時 | 2026-03-18 00:17:19 |
| 合計ジャッジ時間 | 14,880 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 WA * 5 TLE * 4 |
ソースコード
n=int(input())
a=sorted(list(map(int,input().split())),reverse=True)
#ギャグ
mod=10**9+7
if max(a)>3:
print(mod)
exit()
ans=1
for i in a:
for j in range(i):
ans*=(i**(j+1))
print(mod%ans)