Borderou de evaluare (job #1594374)
Utilizator | Data | 9 februarie 2016 14:28:58 | |
---|---|---|---|
Problema | Paritate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void da()’:
user.cpp:22:19: error: ‘strlen’ was not declared in this scope
str=strlen(bit)-1;
^
user.cpp: In function ‘int main()’:
user.cpp:43:31: error: ‘strlen’ was not declared in this scope
for(int i=0;i<((strlen(bit)-1)/8);i++){
^
user.cpp: In function ‘void citire()’:
user.cpp:17:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(bit,MAX,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin);
^
user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !