记录详情

Compile Error

foo.cc: In function 'void solve()':
foo.cc:9:2: error: 'ans' was not declared in this scope
  ans=(((a%MOD*(d%MOD)%MOD-(b%MOD*(c%MOD)%MOD+MOD)%MOD+MOD)%MOD;
  ^~~
foo.cc:9:2: note: suggested alternative: 'abs'
  ans=(((a%MOD*(d%MOD)%MOD-(b%MOD*(c%MOD)%MOD+MOD)%MOD+MOD)%MOD;
  ^~~
  abs
foo.cc:9:63: error: expected ')' before ';' token
  ans=(((a%MOD*(d%MOD)%MOD-(b%MOD*(c%MOD)%MOD+MOD)%MOD+MOD)%MOD;
                                                               ^
foo.cc:9:63: error: expected ')' before ';' token
[Hydro](https://hydro.ac)提供评测服务

信息

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