Borderou de evaluare (job #2476508)
Utilizator | Data | 19 octombrie 2019 00:12:02 | |
---|---|---|---|
Problema | Munte2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:23:23: error: uninitialized const 'MaxK' [-fpermissive]
const int MaxN = 105, MaxK;
^~~~
main.cpp:31:21: error: array bound is not an integer constant before ']' token
double dp[MaxN][MaxK];
^
main.cpp:32:17: error: array bound is not an integer constant before ']' token
int t[MaxN][MaxK];
^
main.cpp: In function 'int main()':
main.cpp:73:4: error: 'dp' was not declared in this scope
dp[i][j] = Inf;
^~
main.cpp:75:2: error: 'dp' was not declared in this scope
dp[1][1] = 0;
^~
main.cpp:84:7: error: 't' was not declared in this scope
t[i][q + 1] = j;
^
main.cpp: In function 'void write(int, int)':
main.cpp:105:6: error: 't' was not declared in this scope
if (t[p1][p2] != 1)
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !