/ Vijos /

记录详情

Compile Error

/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:5:1: error: 'ifstream' does not name a type
 ifstream fin("a.in");
 ^~~~~~~~
/in/foo.cc:7:1: error: 'ofstream' does not name a type
 ofstream fout("a.out");
 ^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:15:1: error: 'fin' was not declared in this scope
 fin>>m;
 ^~~
/in/foo.cc:19:10: error: invalid operands of types 'int' and 'int [1001]' to binary 'operator-'
 b[i]=a[i]-a;
      ~~~~^~
/in/foo.cc:19:12: error: expected ')' before ';' token
 b[i]=a[i]-a;
            ^
/in/foo.cc:13:7: warning: unused variable 'j' [-Wunused-variable]
 int i,j,m,a[1001]={0},b[1001]={0};
       ^

信息

递交者
类型
递交
题目
P1220 拉面秘籍
语言
C++
递交时间
2024-03-10 19:03:22
评测时间
2024-03-10 19:03:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes