Borderou de evaluare (job #2649436)
Utilizator | Data | 14 septembrie 2020 18:05:20 | |
---|---|---|---|
Problema | Pluricex | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
include <iostream>
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:51:13: error: expected '}' at end of input
return 0;
^
main.cpp:34:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.in","r",stdin);
^
main.cpp:35:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.out","w",stdout);
^
main.cpp:37:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&n,&k,&d);
^
main.cpp:40:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&co);
^
main.cpp:43:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x); x--;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !