记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:10: error: 'y' was not declared in this scope
    cout<<y<<"Yes"<<endl;
          ^
/in/foo.cc:12:3: error: expected primary-expression before '}' token
   }
   ^
/in/foo.cc:15:9: error: 'y' was not declared in this scope
   cout<<y<<"No"<<endl;
         ^
/in/foo.cc:17:2: error: expected primary-expression before '}' token
  }
  ^
/in/foo.cc:18:9: error: 'd' was not declared in this scope
  total+=d;
         ^

信息

递交者
类型
递交
题目
A1-4 分支结构练习:今年过去了多少天
比赛
2020苏青奥赛集训营(2021-1-31课堂小练)
语言
C++
递交时间
2021-01-31 20:15:38
评测时间
2021-01-31 20:15:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes