Borderou de evaluare (job #1793555)
Utilizator | Data | 31 octombrie 2016 10:17:44 | |
---|---|---|---|
Problema | Tabela | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:17: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("tabela.in");
^
user.cpp:8:18: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("tabela.out");
^
user.cpp:19:21: error: variable-sized object ‘v’ may not be initialized
int v[l][c] = {0};
^
user.cpp:23:36: warning: for increment expression has no effect [-Wunused-value]
for(int d = x; d >= 0; i)
^
user.cpp:24:9: error: expected primary-expression before ‘}’ token
}
^
user.cpp:24:9: error: expected ‘;’ before ‘}’ token
user.cpp:22:17: warning: unused variable ‘max’ [-Wunused-variable]
int max = 0;
^
user.cpp:19:9: warning: unused variable ‘v’ [-Wunused-variable]
int v[l][c] = {0};
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !