結果
| 問題 |
No.793 うし数列 2
|
| コンテスト | |
| ユーザー |
takakin
|
| 提出日時 | 2020-06-09 23:08:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 161 bytes |
| コンパイル時間 | 347 ms |
| コンパイル使用メモリ | 12,160 KB |
| 実行使用メモリ | 23,760 KB |
| 最終ジャッジ日時 | 2025-01-03 05:10:01 |
| 合計ジャッジ時間 | 42,568 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 TLE * 13 |
ソースコード
import sys
input=lambda: sys.stdin.readline().rstrip()
n=int(input())
mod=10**9+7
ans=1
for i in range(n):
ans=(ans*10)+3
if ans>mod:
ans%=mod
print(ans)
takakin