/ CVCOJ /

记录详情

Compile Error

/in/foo.c:3:1: error: unknown type name 'using'
 using namespace std;
 ^~~~~
/in/foo.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
 using namespace std;
                 ^~~
/in/foo.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 map <ll,bool> a;
     ^
/in/foo.c:6:1: error: unknown type name 'bool'
 bool check(void)
 ^~~~
/in/foo.c:34:1: error: unknown type name 'bool'
 bool dfs( int deep , int maxdeep )
 ^~~~
/in/foo.c: In function 'dfs':
/in/foo.c:36:5: error: 'a' undeclared (first use in this function)
     a[che(deep)] = 1;
     ^
/in/foo.c:36:5: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:51:17: warning: implicit declaration of function 'swap' [-Wimplicit-function-declaration]
                 swap( s[i][j] , s[i][j+1] );
                 ^~~~
/in/foo.c: In function 'slove':
/in/foo.c:84:9: error: 'a' undeclared (first use in this function)
         a.clear();
         ^
/in/foo.c: In function 'main':
/in/foo.c:94:13: error: 'cin' undeclared (first use in this function)
             cin >> s[i][j] ;
             ^~~

信息

递交者
类型
递交
题目
P1001 A+B Problem
语言
C
递交时间
2019-07-15 12:58:28
评测时间
2019-07-15 12:58:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes