Borderou de evaluare (job #1789042)
Utilizator | Data | 26 octombrie 2016 17:40:23 | |
---|---|---|---|
Problema | Alegeri | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:49: error: size of array ‘a’ is too large
int s, t, m, n, u, i, j, c, mi, a[100000][100000];
^
user.cpp: In function ‘int main()’:
user.cpp:17:6: error: ‘a’ was not declared in this scope
a[j][i]= 1;
^
user.cpp:20:6: error: ‘a’ was not declared in this scope
a[i][j]=1;
^
user.cpp:27:6: error: ‘a’ was not declared in this scope
a[j][i]=2;} else a[i][j]=2;
^
user.cpp:27:23: error: ‘a’ was not declared in this scope
a[j][i]=2;} else a[i][j]=2;
^
user.cpp:33:33: error: ‘a’ was not declared in this scope
for (int h=0; h<g; h++) if ((a[g][h])==2) k=1;
^
user.cpp:34:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (k=0) {
^
user.cpp:36:33: error: ‘a’ was not declared in this scope
for (int h=0; h<g; h++) if (a[h][g]< mi) mi= a[h][g];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !