Borderou de evaluare (job #1485165)
Utilizator | Data | 12 septembrie 2015 12:43:55 | |
---|---|---|---|
Problema | Riremito | Status | done |
Runda | Algoritmiada 2015 Runda Finala Seniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfsx(int, long long int)’:
user.cpp:50:18: error: ‘mmax’ was not declared in this scope
best[nod] -= mmax;
^
user.cpp: In function ‘int main()’:
user.cpp:54:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("riremito.in","r",stdin);
^
user.cpp:55:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("riremito.out","w",stdout);
^
user.cpp:56:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:60:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld",&x,&y,&z);
^
user.cpp:64:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&K);
^
user.cpp:68:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&start);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !