結果
問題 | No.523 LED |
ユーザー |
![]() |
提出日時 | 2017-06-03 00:05:50 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
AC
|
実行時間 | 110 ms / 2,000 ms |
コード長 | 251 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 31,360 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 03:40:17 |
合計ジャッジ時間 | 1,530 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
program mainimplicit noneinteger*8::N,M,res=1integer::iinteger*8,parameter::modulo=1000000007read *,Ndo i=N,1,-1M = 2*ires = MOD(res*i,modulo)res = MOD(res*(M-1),modulo)end doprint '(i0)',resend program main