Borderou de evaluare (job #2186803)

Utilizator madalina.sassss madalina. Data 25 martie 2018 22:54:26
Problema Pascal Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:31:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=] printf("%d", nr); ^ user.c:26:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("pascal.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:27:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("pascal.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:29:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &l, &d); ^~~~~~~~~~~~~~~~~~~~~~ user.c:30:11: warning: ‘nr’ is used uninitialized in this function [-Wuninitialized] C(l, d, nr); ^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms876kbKilled by signal 8(SIGFPE).0
20ms752kbKilled by signal 8(SIGFPE).0
30ms868kbKilled by signal 8(SIGFPE).0
40ms808kbKilled by signal 8(SIGFPE).0
50ms808kbKilled by signal 8(SIGFPE).0
60ms872kbKilled by signal 8(SIGFPE).0
70ms804kbKilled by signal 8(SIGFPE).0
80ms880kbKilled by signal 8(SIGFPE).0
90ms816kbKilled by signal 8(SIGFPE).0
100ms872kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?