0_0_29713318_13293.c:1:1: error: expected identifier or '(' before '/' token
// #include <algorithm>
^
0_0_29713318_13293.c:1:4: error: stray '#' in program
// #include <algorithm>
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:282:0,
from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10,
from GCC4.9.2/x86_64-w64-mingw32/include/math.h:13,
from 0_0_29713318_13293.c:2:
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h:29:11: error: unknown type name '__gnuc_va_list'
typedef __gnuc_va_list va_list;
^
0_0_29713318_13293.c:4:1: error: expected identifier or '(' before '/' token
// #include <cstring>
^
0_0_29713318_13293.c:4:4: error: stray '#' in program
// #include <cstring>
^
0_0_29713318_13293.c:5:4: error: stray '#' in program
// #include <iostream>
^
0_0_29713318_13293.c: In function 'main':
0_0_29713318_13293.c:7:18: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
#define cases(t) for (int cas = 1; cas <= (int)t; ++cas)
^
0_0_29713318_13293.c:23:5: note: in expansion of macro 'cases'
cases(t) {
^
0_0_29713318_13293.c:7:18: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
#define cases(t) for (int cas = 1; cas <= (int)t; ++cas)
^
0_0_29713318_13293.c:23:5: note: in expansion of macro 'cases'
cases(t) {
^
|