Borderou de evaluare (job #1765346)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 26 septembrie 2016 17:40:02
Problema Cezar Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:14:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short unsigned int *’ [-Wformat=] fscanf(f, "%d %d\n", &n, &K); ^ user.c:14:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘short unsigned int *’ [-Wformat=] user.c:21:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short unsigned int *’ [-Wformat=] fscanf(f, "%d %d\n", &x, &y); ^ user.c:21:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘short unsigned int *’ [-Wformat=] user.c:34:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short unsigned int *’ [-Wformat=] fscanf(f, "%d %d\n", &n, &K); ^ user.c:34:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘short unsigned int *’ [-Wformat=] user.c:36:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short unsigned int *’ [-Wformat=] fscanf(f, "%d %d\n", &x, &y); ^ user.c:36:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘short unsigned int *’ [-Wformat=] user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &K); ^ user.c:21:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &x, &y); ^ user.c:34:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &K); ^ user.c:36:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit256kbTime limit exceeded.0
20ms256kbKilled by signal 11(SIGSEGV).0
3Depăşit260kbTime limit exceeded.0
40ms256kbKilled by signal 11(SIGSEGV).0
5Depăşit260kbTime limit exceeded.0
60ms260kbKilled by signal 11(SIGSEGV).0
70ms256kbKilled by signal 11(SIGSEGV).0
80ms264kbKilled by signal 11(SIGSEGV).0
90ms264kbKilled by signal 11(SIGSEGV).0
100ms264kbKilled by signal 11(SIGSEGV).0
110ms260kbKilled by signal 11(SIGSEGV).0
120ms264kbKilled by signal 11(SIGSEGV).0
130ms272kbKilled by signal 11(SIGSEGV).0
140ms260kbKilled by signal 11(SIGSEGV).0
150ms264kbKilled by signal 11(SIGSEGV).0
160ms272kbKilled by signal 11(SIGSEGV).0
170ms276kbKilled by signal 11(SIGSEGV).0
180ms272kbKilled by signal 11(SIGSEGV).0
190ms276kbKilled by signal 11(SIGSEGV).0
200ms284kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?