Borderou de evaluare (job #1856020)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 24 ianuarie 2017 14:12:59
Problema Par Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.c: In function ‘push’: user.c:10:33: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] struct Node* temp = (struct Node*)malloc(sizeof(struct Node)); ^ user.c:10:39: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] struct Node* temp = (struct Node*)malloc(sizeof(struct Node)); ^ user.c: In function ‘pop’: user.c:19:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(temp); ^ user.c:19:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] user.c: In function ‘main’: user.c:40:1: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[10000]’ [-Wformat=] scanf("%s", &par); ^ user.c:36:8: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("par.in", "r", stdin); ^ user.c:37:8: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("par.out", "w", stdout); ^ user.c:39:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.c:40:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &par); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbIncorect00
20ms272kbOK10
30ms268kbOK1010
40ms272kbOK1010
50ms272kbOK1010
60ms276kbOK1010
70ms272kbOK1010
80ms280kbIncorect00
90ms296kbIncorect00
100ms296kbOK1010
Punctaj total60

Ceva nu functioneaza?