Borderou de evaluare (job #2660796)

Utilizator betybety bety bety Data 20 octombrie 2020 15:47:31
Problema Rps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:7:45: error: 'typeof' was not declared in this scope #define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it) ^ main.cpp:123:9: note: in expansion of macro 'FORIT' FORIT(it, s) ^~~~~ main.cpp:123:15: error: 'it' was not declared in this scope FORIT(it, s) ^ main.cpp:7:65: note: in definition of macro 'FORIT' #define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it) ^~ Non zero exit status: 1

Ceva nu functioneaza?