Borderou de evaluare (job #2201989)
Utilizator | Data | 6 mai 2018 20:47:23 | |
---|---|---|---|
Problema | Jocul Flip | 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:5:42: error: size of array ‘a’ is too large
int n,m,i,j,s1=0,s2=0,a[1000000][1000000],suma=0;
^
user.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream o("flip.out")
^~~~~~~~
user.cpp:11:7: error: ‘a’ was not declared in this scope
f>>a[i][j];
^
user.cpp:16:10: error: ‘a’ was not declared in this scope
s1=s1+a[i][j];
^
user.cpp:21:4: error: ‘a’ was not declared in this scope
{a[i][j]=a[i][j]*(-1);
^
user.cpp:25:12: error: ‘a’ was not declared in this scope
suma=suma+a[i][j];
^
user.cpp:27:2: error: ‘o’ was not declared in this scope
o<<suma;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !