結果
問題 |
No.793 うし数列 2
|
ユーザー |
![]() |
提出日時 | 2019-03-14 13:43:02 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 201 bytes |
コンパイル時間 | 370 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-26 08:48:09 |
合計ジャッジ時間 | 3,751 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 3 WA * 5 TLE * 1 -- * 12 |
ソースコード
#include <stdio.h> int main() { unsigned long long n; scanf("%llu", &n); int r = 1; for(unsigned long long int i=0; i<n; i++){ r = (10 * r + 3) % 1000000007; } printf("%d\n", r); return 0; }