Borderou de evaluare (job #1397788)
Utilizator | Data | 23 martie 2015 19:12:53 | |
---|---|---|---|
Problema | Gramezi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void swap(int, int)’:
user.cpp:16:5: error: ‘aux’ was not declared in this scope
aux = V1[a].;
^
user.cpp:16:17: error: expected unqualified-id before ‘;’ token
aux = V1[a].;
^
user.cpp:17:5: error: ‘V’ was not declared in this scope
V
^
user.cpp:18:5: error: expected ‘;’ before ‘return’
return;
^
user.cpp: In function ‘void SetUp()’:
user.cpp:3:11: error: ‘first’ was not declared in this scope
#define x first
^
user.cpp:25:19: note: in expansion of macro ‘x’
V1[i].x = x + y;
^
user.cpp:4:11: error: ‘second’ was not declared in this scope
#define y second.first
^
user.cpp:25:23: note: in expansion of macro ‘y’
V1[i].x = x + y;
^
user.cpp:5:18: error: expected ‘;’ before ‘second’
#define z second second
^
user.cpp:27:15: note: in expansion of macro ‘z’
V1[i].z = i;
^
user.cpp:27:20: warning: statement has no effect [-Wunused-value]
V1[i].z = i;
^
user.cpp:5:18: error: expected ‘;’ before ‘second’
#define z second second
^
user.cpp:30:15: note: in expansion of macro ‘z’
V2[i].z = i;
^
user.cpp:30:20: warning: statement has no effect [-Wunused-value]
V2[i].z = i;
^
user.cpp:32:28: error: ‘sort’ was not declared in this scope
sort(V1 + 1, V1 + N + 1);
^
user.cpp:33:18: error: ‘v2’ was not declared in this scope
sort(V2 + 1, v2 + N + 1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !