Borderou de evaluare (job #1531183)
Utilizator | Data | 21 noiembrie 2015 13:26:10 | |
---|---|---|---|
Problema | Por Costel și Trenul | Status | done |
Runda | FMI No Stress 6 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:30: error: ‘memset’ was not declared in this scope
memset(arr,-1,sizeof(arr));
^
user.cpp:45:31: error: ‘memset’ was not declared in this scope
memset(arr,-1,sizeof(arr));
^
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenul.in","r",stdin);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenul.out","w",stdout);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !