Borderou de evaluare (job #1855973)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 24 ianuarie 2017 13:43:51
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 (*)[5001]’ [-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
10ms276kbIncorect00
20ms264kbOK10
30ms272kbOK1010
40ms268kbOK1010
50ms276kbOK1010
60ms268kbOK1010
70ms276kbOK1010
80ms284kbIncorect00
90ms300kbIncorect00
100ms292kbOK1010
Punctaj total60

Ceva nu functioneaza?