Borderou de evaluare (job #1219558)
Utilizator | Data | 14 august 2014 16:14:18 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void constructie_pi()’:
user.cpp:10:22: error: ‘strlen’ was not declared in this scope
int k(0),N(strlen(S1)-1),i;
^
user.cpp: In function ‘int main()’:
user.cpp:25:14: error: ‘strlen’ was not declared in this scope
S1[strlen(S1)-1]=S2[strlen(S2)-1]=0;
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.in","r",stdin);
^
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S1+1,maxN,stdin);
^
user.cpp:23:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S2+1,maxN,stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !