Borderou de evaluare (job #1921386)
Utilizator | Data | 10 martie 2017 12:31:06 | |
---|---|---|---|
Problema | Pic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:7: error: ‘NMax’ does not name a type
const NMax = 55;
^
user.cpp:8:10: error: ‘NMax’ was not declared in this scope
int n, c[NMax][NMax];
^
user.cpp:8:16: error: ‘NMax’ was not declared in this scope
int n, c[NMax][NMax];
^
user.cpp:9:22: error: ‘NMax’ was not declared in this scope
unsigned long long t[NMax][NMax], inf=999999999999999999, dr, mij, st, sol;
^
user.cpp:9:28: error: ‘NMax’ was not declared in this scope
unsigned long long t[NMax][NMax], inf=999999999999999999, dr, mij, st, sol;
^
user.cpp: In function ‘int main()’:
user.cpp:17:8: error: ‘c’ was not declared in this scope
f>>c[i][j];
^
user.cpp:27:21: error: ‘c’ was not declared in this scope
snivel+=c[i][j];
^
user.cpp:44:16: error: ‘t’ was not declared in this scope
memset(t, 0, sizeof(t));
^
user.cpp:51:36: error: ‘c’ was not declared in this scope
t[i+1][j]+=(t[i][j]-c[i][j]+1)/2;
^
user.cpp:55:24: error: ‘c’ was not declared in this scope
if(t[n][j]<c[n][j])
^
user.cpp:12:14: warning: unused variable ‘ok’ [-Wunused-variable]
int v, i, j, ok, sum=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !