Borderou de evaluare (job #1520634)
Utilizator | Data | 9 noiembrie 2015 09:40:51 | |
---|---|---|---|
Problema | Problema rucsacului | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:16: error: expected unqualified-id before ‘int’
struct obiect (int g,c;);
^
user.cpp:3:16: error: expected ‘)’ before ‘int’
user.cpp:3:24: error: expected unqualified-id before ‘)’ token
struct obiect (int g,c;);
^
user.cpp:4:12: error: elements of array ‘obiect a [20]’ have incomplete type
obiect a[20];
^
user.cpp:4:12: error: storage size of ‘a’ isn’t known
user.cpp: In function ‘void p_d()’:
user.cpp:18:20: warning: statement has no effect [-Wunused-value]
p[i][j];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !