Borderou de evaluare (job #1890637)
Utilizator | Data | 23 februarie 2017 13:16:27 | |
---|---|---|---|
Problema | Dir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int dir(int)’:
user.cpp:17:40: error: ‘comma’ was not declared in this scope
if(isupper(t)&&isalpha(t)&&!comma(i)&&!bracket(i))return 1;
^
user.cpp:17:53: error: ‘bracket’ was not declared in this scope
if(isupper(t)&&isalpha(t)&&!comma(i)&&!bracket(i))return 1;
^
user.cpp: In function ‘int main()’:
user.cpp:48:9: warning: unused variable ‘n’ [-Wunused-variable]
int n=strlen(s)-1;
^
user.cpp: In function ‘int dir(int)’:
user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:45:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dir.in","r",stdin);
^
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dir.out","w",stdout);
^
user.cpp:47:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !