Compile Error

foo.cc: In function ‘int main()’:
foo.cc:5:5: error: ‘scanf’ was not declared in this scope
    5 |     scanf("%lld%lld",&a,&b);
      |     ^~~~~
foo.cc:12:5: error: ‘write’ was not declared in this scope
   12 |     write(j);
      |     ^~~~~
foo.cc:3:23: warning: unused variable ‘c’ [-Wunused-variable]
    3 |     long long int a,b,c,d=0;
      |                       ^

信息

递交者
类型
递交
题目
P1397 同余方程
语言
C++
递交时间
2025-08-07 09:23:11
评测时间
2025-08-07 09:23:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes