记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:13: error: 'a1' was not declared in this scope
             a1=0;
             ^~
/in/foo.cc:21:13: error: 'a2' was not declared in this scope
             a2=a;
             ^~
/in/foo.cc:25:13: error: 'a1' was not declared in this scope
             a1=a/10;
             ^~
/in/foo.cc:26:13: error: 'a2' was not declared in this scope
             a2=a%10;
             ^~
/in/foo.cc:30:13: error: 'b1' was not declared in this scope
             b1=0;
             ^~
/in/foo.cc:31:13: error: 'b2' was not declared in this scope
             b2=b;
             ^~
/in/foo.cc:35:13: error: 'b1' was not declared in this scope
             b1=b/10;
             ^~
/in/foo.cc:36:13: error: 'b2' was not declared in this scope
             b2=b%10;
             ^~
/in/foo.cc:38:11: error: 'c' was not declared in this scope
       if (c<10)
           ^
/in/foo.cc:40:13: error: 'c1' was not declared in this scope
             c1=0;
             ^~
/in/foo.cc:41:13: error: 'c2' was not declared in this scope
             c2=c;
             ^~
/in/foo.cc:45:13: error: 'c1' was not declared in this scope
             c1=c/10;
             ^~
/in/foo.cc:46:13: error: 'c2' was not declared in this scope
             c2=c%10;
             ^~
/in/foo.cc:48:9: error: 'a1' was not declared in this scope
       s(a1);
         ^~
/in/foo.cc:49:9: error: 'a2' was not declared in this scope
       s(a2);
         ^~
/in/foo.cc:51:9: error: 'b1' was not declared in this scope
       s(b1);
         ^~
/in/foo.cc:52:9: error: 'b2' was not declared in this scope
       s(b2);
         ^~
/in/foo.cc:54:9: error: 'c1' was not declared in this scope
       s(c1);
         ^~
/in/foo.cc:55:9: error: 'c2' was not declared in this scope
       s(c2);
         ^~
/in/foo.cc:66:11: error: 'l' cannot be used as a function
       l(a1);
           ^
/in/foo.cc:67:11: error: 'l' cannot be used as a function
       l(a2);
           ^
/in/foo.cc:69:11: error: 'l' cannot be used as a function
       l(b1);
           ^
/in/foo.cc:70:11: error: 'l' cannot be used as a function
       l(b2);
           ^
/in/foo.cc:72:11: error: 'l' cannot be used as a function
       l(c1);
           ^
/in/foo.cc:73:11: error: 'l' cannot be used as a function
       l(c2);
           ^

信息

递交者
类型
递交
题目
P1037 环形山丘(续)
比赛
周末测试2
语言
C++
递交时间
2021-09-24 21:44:34
评测时间
2021-09-24 21:44:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes