记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:8:21: error: 'z' was not declared in this scope
     cin >> n >> y >>z;
                     ^
foo.cc:10:9: error: 'i' was not declared in this scope
     for(i=0,i<=y,i++)
         ^
foo.cc:15:5: error: expected primary-expression before 'return'
     return 0;
     ^~~~~~
foo.cc:15:5: error: expected ')' before 'return'
foo.cc:5:9: warning: unused variable 'a' [-Wunused-variable]
     int a[]={31,28,31,30,31,30,31,31,30,31,30,31}; 
         ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2021年中北算法竞赛队招新测试
语言
C++
递交时间
2021-10-24 14:20:06
评测时间
2021-10-24 14:20:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes