/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:16: error: 'king_a' was not declared in this scope
   32 |     mpz_set(s, king_a);
      |                ^~~~~~
/in/foo.cc:44:26: error: expected primary-expression before 'a'
   44 |         mpz_set_ui(mpz_t a, m[i].a);
      |                          ^
/in/foo.cc:45:26: error: expected primary-expression before 'b'
   45 |         mpz_set_ui(mpz_t b, m[i].b);
      |                          ^
/in/foo.cc:50:9: error: 'mpz_max' was not declared in this scope; did you mean 'mpz_mod'?
   50 |         mpz_max(ans, ans, temp);
      |         ^~~~~~~
      |         mpz_mod

信息

递交者
类型
递交
题目
P1779 国王游戏
语言
C++
递交时间
2025-02-04 10:42:09
评测时间
2025-02-04 10:42:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes