Borderou de evaluare (job #2536588)
Utilizator | Data | 2 februarie 2020 12:19:27 | |
---|---|---|---|
Problema | Schi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bs(int)':
main.cpp:20:5: error: 'st' was not declared in this scope
st = v[i];
^~
main.cpp:20:12: error: 'i' was not declared in this scope
st = v[i];
^
main.cpp: In function 'int main()':
main.cpp:41:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.in" , "r" , stdin);
^
main.cpp:42:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.out" , "w" , stdout);
^
main.cpp:44:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:46: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 !