Borderou de evaluare (job #1969795)
Utilizator | Data | 18 aprilie 2017 17:32:38 | |
---|---|---|---|
Problema | Pirati | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:141:5: warning: "/*" within comment [-Wcomment]
/*set_values();
main.cpp: In function 'void set_neighbors(int, int)':
main.cpp:6:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i, x, y) for(int i = x; i <= y; ++i)
main.cpp:86:10:
FOR(i, 0, v.sz() - 1)
~~~~~~~~~~~~~~~~
main.cpp:86:6: note: in expansion of macro 'FOR'
FOR(i, 0, v.sz() - 1)
^~~
main.cpp: In function 'int main()':
main.cpp:134:4: error: expected primary-expression before '/' token
/FOR(i, 1, n)
^
main.cpp:6:22: error: expected primary-expression before 'for'
#define FOR(i, x, y) for(int i = x; i <= y; ++i)
^
main.cpp:134:5: note: in expansion of macro 'FOR'
/FOR(i, 1, n)
^~~
main.cpp:134:9: error: 'i' was not declared in this scope
/FOR(i, 1, n)
^
main.cpp:6:37: note: in definition of macro 'FOR'
#define FOR(i, x, y) for(int i = x; i <= y; ++i)
^
main.cpp:135:11: error: 'j' was not declared in this scope
FOR(j, 1, m)
^
main.cpp:6:37: note: in definition of macro 'FOR'
#define FOR(i, x, y) for(int i = x; i <= y; ++i)
^
main.cpp:127:10: warning: unused variable 'c' [-Wunused-variable]
char c;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !