Borderou de evaluare (job #2205758)
Utilizator | Data | 20 mai 2018 11:02:16 | |
---|---|---|---|
Problema | ZParcurgere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:12: error: variable ‘std::ifstream in’ has initializer but incomplete type
ifstream in("z.in");
^
user.cpp:4:13: error: variable ‘std::ofstream out’ has initializer but incomplete type
ofstream out("z.out");
^
user.cpp:5:19: error: size of array ‘a’ is too large
int a[32780][32780];
^
user.cpp: In function ‘void calcul(int, int, int, int, int&)’:
user.cpp:11:15: error: ‘a’ was not declared in this scope
ind++,a[l1][c1]=ind;
^
user.cpp: In function ‘int main()’:
user.cpp:36:10: error: ‘a’ was not declared in this scope
out<<a[p][q]<<'\n';
^
user.cpp:29:21: warning: unused variable ‘j’ [-Wunused-variable]
int k,n,i,ind=0,j,p,q;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !