Borderou de evaluare (job #784161)
Utilizator | Data | 4 septembrie 2012 23:50:45 | |
---|---|---|---|
Problema | Zmeu2 | 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:37:17: error: ‘out’ was not declared in this scope
out[i][j] = false;
^
user.cpp: In function ‘void BF()’:
user.cpp:73:63: error: expected ‘)’ before ‘[’ token
if(/*!out[now.start][i] */&& dp[i][A] > B)
^
user.cpp:73:73: warning: the address of ‘dp’ will always evaluate as ‘true’ [-Waddress]
if(/*!out[now.start][i] */&& dp[i][A] > B)
^
user.cpp:73:61: error: label ‘dp’ used but not defined
if(/*!out[now.start][i] */&& dp[i][A] > B)
^
user.cpp: In function ‘int main()’:
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "r", stdin);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "w", stdout);
^
user.cpp:25:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i", &N, &P, &K);
^
user.cpp:30:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &D[i], &C[i]);
^
user.cpp:43:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &X, &Y);
^
user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &i);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !