Borderou de evaluare (job #1478484)
Utilizator | Data | 28 august 2015 19:18:30 | |
---|---|---|---|
Problema | Generare de permutari | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int valid(int)’:
user.cpp:17:6: error: expected ‘)’ before ‘;’ token
(i=1; i<k; i++)
^
user.cpp:17:9: warning: statement has no effect [-Wunused-value]
(i=1; i<k; i++)
^
user.cpp:17:16: error: expected ‘;’ before ‘)’ token
(i=1; i<k; i++)
^
user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:43:5: error: ‘g’ was not declared in this scope
g << x[i] << " ";
^
user.cpp:44:4: error: ‘g’ was not declared in this scope
g << "\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !