Borderou de evaluare (job #2546237)
Utilizator | Data | 13 februarie 2020 22:01:41 | |
---|---|---|---|
Problema | Comisia | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void computeAnswerOnInterval(int, int)':
main.cpp:21:40: error: '_computeAnswerOnInterval' was not declared in this scope
_computeAnswerOnInterval(1,midPoint);
^
main.cpp: In function 'int main()':
main.cpp:50:11: warning: unused variable 'k' [-Wunused-variable]
int n,k;
^
main.cpp:48:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("comisia.in","r",stdin);
^
main.cpp:49:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("comisia.out","w",stdout);
^
main.cpp:51:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:53:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&requirements[i]);
^
main.cpp:56:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&risk[i]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !