/ Vijos /

记录详情

Compile Error

/in/foo.c:2:1: error: unknown type name 'using'
 using namespace std;
 ^~~~~
/in/foo.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
 using namespace std;
                 ^~~
/in/foo.c:6:1: error: unknown type name 'bool'
 bool check(int x, int y)
 ^~~~
/in/foo.c: In function 'check':
/in/foo.c:9:10: error: 'true' undeclared (first use in this function)
   return true;
          ^~~~
/in/foo.c:9:10: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:11:10: error: 'false' undeclared (first use in this function)
   return false;
          ^~~~~
/in/foo.c:12:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1556 对称的正方形
语言
C
递交时间
2019-12-14 15:00:51
评测时间
2019-12-14 15:00:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes