/ Vijos /

记录详情

Compile Error

foo.cc:4:1: error: '__int64' does not name a type; did you mean '__int64_t'?
    4 | __int64 x[61],y[61],z[61];
      | ^~~~~~~
      | __int64_t
foo.cc: In function 'int main()':
foo.cc:10:1: error: 'x' was not declared in this scope
   10 | x[3]=1;y[3]=-2;z[3]=2;
      | ^
foo.cc:10:8: error: 'y' was not declared in this scope
   10 | x[3]=1;y[3]=-2;z[3]=2;
      |        ^
foo.cc:10:16: error: 'z' was not declared in this scope
   10 | x[3]=1;y[3]=-2;z[3]=2;
      |                ^
foo.cc:8:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 | scanf("%d%d",&n,&m);
      | ~~~~~^~~~~~~~~~~~~~
foo.cc:9:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 | scanf("%lf%lf%lf",&d,&a[1],&a[n]);
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1151 失落的成绩单
语言
C++
递交时间
2022-02-16 18:38:32
评测时间
2022-02-16 18:38:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes