Borderou de evaluare (job #1910239)

Utilizator andysoloAndrei Solo andysolo Data 7 martie 2017 16:07:25
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void createPath(int, char*)’: user.cpp:28:13: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] pt[ln+1]=NULL; ^ user.cpp:34:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] pt[ln+1]=NULL; ^ user.cpp: In function ‘void efolder(int)’: user.cpp:76:28: warning: NULL used in arithmetic [-Wpointer-arith] while(s[i]!=')'&&s[i]!=NULL) ^ user.cpp:92:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] t[j]=NULL; ^ user.cpp:75:10: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] char t[32]; ^ user.cpp: In function ‘int main()’: user.cpp:120:9: warning: unused variable ‘n’ [-Wunused-variable] int n=strlen(s)-1; ^ user.cpp: In function ‘int dir(int)’: user.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘bool name(int)’: user.cpp:55:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:117: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:118: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbIncorect0
20ms412kbIncorect0
30ms412kbIncorect0
40ms416kbIncorect0
50ms416kbIncorect0
60ms416kbIncorect0
70ms408kbIncorect0
80ms412kbIncorect0
90ms412kbIncorect0
100ms412kbIncorect0
Punctaj total0

Ceva nu functioneaza?