记录详情

Compile Error

foo.cc: In function 'void Insert()':
foo.cc:33:16: warning: unused variable 'ha' [-Wunused-variable]
 if(tag==1) int ha=1;
                ^~
foo.cc: In function 'int main()':
foo.cc:108:1: error: expected primary-expression before '/' token
 /
 ^
foo.cc:109:1: error: expected primary-expression before 'for'
 for(int i=0; i<=t; i++){
 ^~~
foo.cc:109:14: error: 'i' was not declared in this scope
 for(int i=0; i<=t; i++){
              ^
foo.cc:109:14: note: suggested alternative: 'it'
 for(int i=0; i<=t; i++){
              ^
              it
foo.cc:114:2: error: expected primary-expression before '/' token
 */
  ^

信息

递交者
类型
递交
题目
P1070 开车旅行
语言
C++
递交时间
2021-02-02 08:24:56
评测时间
2021-02-02 08:24:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes