/ XMU_ACM /

记录详情

Compile Error

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

信息

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