Pagini recente » Borderou de evaluare (job #534047) | Borderou de evaluare (job #666188) | Borderou de evaluare (job #2819502) | Borderou de evaluare (job #967845) | Borderou de evaluare (job #1910167)
Borderou de evaluare (job #1910167)
Raport evaluator
Compilare:
user.cpp: In function ‘void createPath(int, char*)’:
user.cpp:27:13: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
pt[ln+1]=NULL;
^
user.cpp:33: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:83:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
t[j]=NULL;
^
user.cpp:91:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
t[j]=NULL;
^
user.cpp:74:10: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
char t[255];
^
user.cpp: In function ‘int main()’:
user.cpp:119:9: warning: unused variable ‘n’ [-Wunused-variable]
int n=strlen(s)-1;
^
user.cpp: In function ‘int dir(int)’:
user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘bool name(int)’:
user.cpp:54:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:116: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:117: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:118:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccKNSLEP.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |