Borderou de evaluare (job #977045)
Utilizator | Data | 24 iulie 2013 16:27:15 | |
---|---|---|---|
Problema | Patrate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void rotate(std::vector<Square>&)’:
user.cpp:5:45: error: ‘typeof’ was not declared in this scope
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
^
user.cpp:27:5: note: in expansion of macro ‘FORIT’
FORIT(it,v) {
^
user.cpp:27:11: error: expected ‘;’ before ‘it’
FORIT(it,v) {
^
user.cpp:5:46: note: in definition of macro ‘FORIT’
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
^
user.cpp:27:11: error: ‘it’ was not declared in this scope
FORIT(it,v) {
^
user.cpp:5:64: note: in definition of macro ‘FORIT’
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
^
user.cpp: In function ‘bool check(std::vector<Square>, int)’:
user.cpp:5:45: error: ‘typeof’ was not declared in this scope
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
^
user.cpp:37:5: note: in expansion of macro ‘FORIT’
FORIT(it,v) {
^
user.cpp:37:11: error: expected ‘;’ before ‘it’
FORIT(it,v) {
^
user.cpp:5:46: note: in definition of macro ‘FORIT’
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
^
user.cpp:37:11: error: ‘it’ was not declared in this scope
FORIT(it,v) {
^
user.cpp:5:64: note: in definition of macro ‘FORIT’
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
^
user.cpp: In function ‘bool check2(std::vector<Square>, int)’:
user.cpp:5:45: error: ‘typeof’ was not declared in this scope
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
^
user.cpp:56:9: note: in expansion of macro ‘FORIT’
FORIT(it,v) {
^
user.cpp:56:15: error: expected ‘;’ before ‘it’
FORIT(it,v) {
^
user.cpp:5:46: note: in definition of macro ‘FORIT’
#define FORIT(it, c) for (typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !