結果

問題 No.1327 グラフの数え上げ
ユーザー 👑 NachiaNachia
提出日時 2020-12-31 04:29:43
言語 cLay
(20240104-1)
結果
AC  
実行時間 1,161 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 1,741 ms
コンパイル使用メモリ 158,984 KB
実行使用メモリ 4,388 KB
最終ジャッジ日時 2023-09-19 02:02:08
合計ジャッジ時間 12,640 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 625 ms
4,380 KB
testcase_02 AC 976 ms
4,380 KB
testcase_03 AC 975 ms
4,384 KB
testcase_04 AC 2 ms
4,380 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 1 ms
4,384 KB
testcase_07 AC 1 ms
4,384 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 51 ms
4,380 KB
testcase_10 AC 1,161 ms
4,380 KB
testcase_11 AC 976 ms
4,380 KB
testcase_12 AC 972 ms
4,384 KB
testcase_13 AC 974 ms
4,380 KB
testcase_14 AC 975 ms
4,384 KB
testcase_15 AC 974 ms
4,388 KB
testcase_16 AC 975 ms
4,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ull c,D=1<<28,x=0,A=0,T[]={1,864357307,373979365,183143523};{while(c=getchar(),'0'<=c&&c<='9'&&x<=MD)x=x*10+c-'0';x=min(x-1,MD);A=T[x/D];rep(i,x++/D*D+1,x)A=(MD-A)*i%MD;wt(A);}
0