记录详情

Compile Error

/in/foo.cc: In function 'void solve()':
/in/foo.cc:40:63: error: expected ')' before ';' token
  ans=(((a%MOD*(d%MOD)%MOD-(b%MOD*(c%MOD)%MOD+MOD)%MOD+MOD)%MOD;
                                                               ^
/in/foo.cc:40:63: error: expected ')' before ';' token
/in/foo.cc:41:13: error: 'mod' was not declared in this scope
  cout<<(((a%mod)*(d%mod) - (b%mod)*(c%mod))%mod+mod)%mod;
             ^~~

信息

递交者
类型
递交
题目
P1289 B. It's my own Invention
语言
C++
递交时间
2021-11-23 18:08:04
评测时间
2021-11-23 18:15:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes