Borderou de evaluare (job #1189696)

Utilizator donutCiprian Nicolae Lazaroaia donut Data 23 mai 2014 12:45:49
Problema Perfect2 Status done
Runda Concursul National de Soft Grigore Moisil Lugoj, Clasele 9-10 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void readfile(dot*, int&, int&)’: user.cpp:27:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘s* {aka short int*}’ [-Wformat=] fscanf(in, "%i %i", &V[i].x, &V[i].y); ^ user.cpp:27:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘s* {aka short int*}’ [-Wformat=] user.cpp: In function ‘void unu(FILE*, int)’: user.cpp:46:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘s* {aka short int*}’ [-Wformat=] fscanf(in, "%i %i", &here.x, &here.y); ^ user.cpp:46:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘s* {aka short int*}’ [-Wformat=] user.cpp: In function ‘void readfile(dot*, int&, int&)’: user.cpp:21:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d\n%d", &P, &N); ^ user.cpp:27:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%i %i", &V[i].x, &V[i].y); ^ user.cpp: In function ‘void unu(FILE*, int)’: user.cpp:46:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%i %i", &here.x, &here.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms360kbKilled by signal 11(SIGSEGV).0
20ms360kbKilled by signal 11(SIGSEGV).0
30ms364kbKilled by signal 11(SIGSEGV).0
40ms360kbKilled by signal 11(SIGSEGV).0
50ms364kbKilled by signal 11(SIGSEGV).0
60ms364kbKilled by signal 11(SIGSEGV).0
70ms360kbKilled by signal 11(SIGSEGV).0
80ms360kbKilled by signal 11(SIGSEGV).0
90ms364kbKilled by signal 11(SIGSEGV).0
100ms360kbKilled by signal 11(SIGSEGV).0
110ms356kbKilled by signal 11(SIGSEGV).0
120ms360kbKilled by signal 11(SIGSEGV).0
130ms360kbKilled by signal 11(SIGSEGV).0
140ms356kbKilled by signal 11(SIGSEGV).0
150ms360kbKilled by signal 11(SIGSEGV).0
160ms360kbKilled by signal 11(SIGSEGV).0
170ms356kbKilled by signal 11(SIGSEGV).0
180ms360kbKilled by signal 11(SIGSEGV).0
190ms356kbKilled by signal 11(SIGSEGV).0
200ms360kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?