Borderou de evaluare (job #1637953)
Utilizator | Data | 7 martie 2016 20:09:11 | |
---|---|---|---|
Problema | Strabunica | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:30: error: declaration of ‘m’ as multidimensional array must have bounds for all dimensions except the first
unsigned long long int m[19][]= {0};
^
user.cpp: In function ‘int findMin(int, int)’:
user.cpp:21:8: error: ‘m’ was not declared in this scope
if(m[k][x]<m[k][y+1-p2[k]])pm=x,ma=m[k][x];
^
user.cpp:25:12: error: ‘m’ was not declared in this scope
if(m[k][pm]>m[k][pm+p2[k]])pm+=p2[k];
^
user.cpp: In function ‘void solve(int, int)’:
user.cpp:35:9: error: ‘m’ was not declared in this scope
if((m[0][pm]*(sf-inc+1))>costm)
^
user.cpp: In function ‘int main()’:
user.cpp:51:12: error: ‘m’ was not declared in this scope
f>>m[0][i];
^
user.cpp:54:16: error: ‘m’ was not declared in this scope
if(m[i-1][j]<=m[i-1][j+p2[i-1]])m[i][j]=m[i-1][j];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !