0_0_33493789_24164.c:2:1: error: unknown type name 'using'
using namespace std;
^
0_0_33493789_24164.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^
0_0_33493789_24164.c: In function 'max_time':
0_0_33493789_24164.c:5:2: error: expected expression before '/' token
//a=º½°à£¬b=±±¾©¹¤×Ê
^
0_0_33493789_24164.c:5:2: error: stray '\272' in program
0_0_33493789_24164.c:5:2: error: stray '\275' in program
0_0_33493789_24164.c:5:2: error: stray '\260' in program
0_0_33493789_24164.c:5:2: error: stray '\340' in program
0_0_33493789_24164.c:5:2: error: stray '\243' in program
0_0_33493789_24164.c:5:2: error: stray '\254' in program
0_0_33493789_24164.c:5:2: error: stray '\261' in program
0_0_33493789_24164.c:5:2: error: stray '\261' in program
0_0_33493789_24164.c:5:2: error: stray '\276' in program
0_0_33493789_24164.c:5:2: error: stray '\251' in program
0_0_33493789_24164.c:5:2: error: stray '\271' in program
0_0_33493789_24164.c:5:2: error: stray '\244' in program
0_0_33493789_24164.c:5:2: error: stray '\327' in program
0_0_33493789_24164.c:5:2: error: stray '\312' in program
0_0_33493789_24164.c:9:17: error: 'right_go' undeclared (first use in this function)
if (day * b > right_go)break;
^
0_0_33493789_24164.c:9:17: note: each undeclared identifier is reported only once for each function it appears in
0_0_33493789_24164.c: In function 'main':
0_0_33493789_24164.c:17:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= t; i++) {
^
0_0_33493789_24164.c:17:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33493789_24164.c:19:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; j < n; j++)
^
0_0_33493789_24164.c:24:3: error: expected expression before '/' token
//printf("gap=%d\n", gap);
^
0_0_33493789_24164.c:26:3: error: unknown type name 'bool'
bool need=true;
^
0_0_33493789_24164.c:26:13: error: 'true' undeclared (first use in this function)
bool need=true;
^
0_0_33493789_24164.c:33:4: error: expected expression before '/' token
//printf("k=%d\n", k);
^
0_0_33493789_24164.c:36:12: error: 'false' undeclared (first use in this function)
need = false;
^
|