Borderou de evaluare (job #1669372)
Utilizator | Data | 30 martie 2016 17:49:01 | |
---|---|---|---|
Problema | Dragon Ball | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void GiveValue(int*, char*)’:
user.cpp:15:20: error: ‘strlen’ was not declared in this scope
a[0] = strlen(s);
^
user.cpp: In function ‘int main()’:
user.cpp:111:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.in","r",stdin);
^
user.cpp:112:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.out","w",stdout);
^
user.cpp:114:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ",&n,&t);
^
user.cpp:115:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
user.cpp:119:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !