結果
| 問題 |
No.487 2017 Calculation(2017の計算)
|
| コンテスト | |
| ユーザー |
nobigomu
|
| 提出日時 | 2018-06-08 19:25:52 |
| 言語 | Bash (Bash 5.2.21) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 135 bytes |
| コンパイル時間 | 30 ms |
| コンパイル使用メモリ | 6,688 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-30 10:42:07 |
| 合計ジャッジ時間 | 767 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 16 |
ソースコード
_==0 "exec" "gawk" "-f" "$0"
function f(m, t,r,_) {
t=2017%m;r=2017%m
for(_=1;_<2*2017;_++) r=(r*t)%m
return (t+r)%m
}
{print f($0)}
nobigomu