/ 程序猿 /

记录详情

Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type
 include<bits/stdc++.h>
 ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:8:22: error: 'a' was not declared in this scope
          scanf("%d",&a[i][j]);
                      ^
/in/foo.cc:8:29: error: 'scanf' was not declared in this scope
          scanf("%d",&a[i][j]);
                             ^
/in/foo.cc:12:15: error: 'a' was not declared in this scope
         while(a[i][j]!=1&&j<=10)
               ^
/in/foo.cc:18:18: error: 'a' was not declared in this scope
            while(a[i][j]!=1&&j>=1)
                  ^
/in/foo.cc:26:12: error: 'a' was not declared in this scope
         if(a[i][j]==0&&(a[i][j+1]==2||a[i][j-1]==2||a[i+1][j]==2||a[i-1][j]==2))
            ^
/in/foo.cc:30:14: error: 'a' was not declared in this scope
           if(a[i][j]==0)
              ^
/in/foo.cc:32:18: error: 'printf' was not declared in this scope
     printf("%d",k);  
                  ^

信息

递交者
类型
递交
题目
面积
语言
C++
递交时间
2019-03-03 13:16:02
评测时间
2019-03-03 13:16:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes