/ XMU_ACM /

记录详情

Compile Error

/in/foo.cc:5:1: error: expected initializer before 'int'
 int i,k;
 ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:16: error: 'M' was not declared in this scope
         memset(M, '0', sizeof(M));
                ^
/in/foo.cc:13:33: error: 'memset' was not declared in this scope
         memset(M, '0', sizeof(M));
                                 ^
/in/foo.cc:14:13: error: 'i' was not declared in this scope
         for(i=0;i<n;i++)
             ^
/in/foo.cc:17:21: error: 'k' was not declared in this scope
                 for(k=x;k<=y;k++)M[k]='1';
                     ^
/in/foo.cc:20:13: error: 'i' was not declared in this scope
         for(i=0;i<m;i++)
             ^

信息

递交者
类型
自测
题目
P1007 刘学习不想当没有感情的粉刷匠
语言
C++
递交时间
2019-04-20 14:59:19
评测时间
2019-04-20 14:59:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes