Borderou de evaluare (job #1189719)

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

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
14ms424kbFisier de iesire lipsa0
220ms424kbFisier de iesire lipsa0
3408ms460kbFisier de iesire lipsa0
4268ms448kbFisier de iesire lipsa0
544ms428kbFisier de iesire lipsa0
6Depăşit800kbTime limit exceeded.0
7Depăşit996kbTime limit exceeded.0
8Depăşit648kbTime limit exceeded.0
9Depăşit1080kbTime limit exceeded.0
10Depăşit1188kbTime limit exceeded.0
11Depăşit1184kbTime limit exceeded.0
120ms432kbOK5
1360ms440kbOK5
14Depăşit480kbTime limit exceeded.0
15Depăşit492kbTime limit exceeded.0
16Depăşit572kbTime limit exceeded.0
17Depăşit728kbTime limit exceeded.0
18Depăşit472kbTime limit exceeded.0
19Depăşit428kbTime limit exceeded.0
20288ms436kbOK5
Punctaj total15

Ceva nu functioneaza?