Borderou de evaluare (job #2273067)
Utilizator | Data | 30 octombrie 2018 23:08:14 | |
---|---|---|---|
Problema | Orase1 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:47:21: error: 'distanta' was not declared in this scope
printf("%d %d", distanta, verificare(distanta)) ;
^~~~~~~~
main.cpp:46:9: warning: unused variable 'distana' [-Wunused-variable]
int distana = caut() ;
^~~~~~~
main.cpp:39:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.in","r",stdin) ;
^
main.cpp:40:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.out","w",stdout) ;
^
main.cpp:41:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k) ;
^
main.cpp:44:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]) ;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !