Pagini recente » Borderou de evaluare (job #730870) | Borderou de evaluare (job #1519225)
Borderou de evaluare (job #1519225)
Raport evaluator
Compilare:
user.c: In function ‘getNumbers’:
user.c:13:53: warning: comparison between pointer and integer [enabled by default]
while( lin[i] >= '0' && lin[i] <= '9' && lin[i] != NULL )
^
user.c:18:53: warning: comparison between pointer and integer [enabled by default]
while( (lin[i] < '0' || lin[i] > '9') && lin[i] != NULL )
^
user.c:20:55: warning: comparison between pointer and integer [enabled by default]
while( (lin[i] >= '0' && lin[i] <= '9') && lin[i] != NULL )
^
user.c: In function ‘main’:
user.c:36:9: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration]
V = (int*)calloc(MMax+1,sizeof(int));
^
user.c:36:19: warning: incompatible implicit declaration of built-in function ‘calloc’ [enabled by default]
V = (int*)calloc(MMax+1,sizeof(int));
^
user.c:54:9: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
free(V);
^
user.c:54:9: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
user.c:27:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(InFile,"r",stdin);
^
user.c:28:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OutFile,"w",stdout);
^
user.c:31:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
gets(lin);
^
user.c:35:13: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
gets(lin);
^
/tmp/cc5VpWgF.o: In function `main':
user.c:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 752kb | OK | 10 |
2 | 8ms | 4144kb | OK | 10 |
3 | 20ms | 6248kb | OK | 10 |
4 | 144ms | 29576kb | Incorect | 0 |
5 | 84ms | 18732kb | Killed by signal 6(SIGABRT). | 0 |
6 | 40ms | 9140kb | Killed by signal 6(SIGABRT). | 0 |
7 | 36ms | 9144kb | Killed by signal 6(SIGABRT). | 0 |
8 | 276ms | 39972kb | Killed by signal 6(SIGABRT). | 0 |
9 | 36ms | 9144kb | Killed by signal 6(SIGABRT). | 0 |
10 | 32ms | 9156kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 30 |