Borderou de evaluare (job #1628808)

Utilizator PraetorGrigorosoaia Florin Praetor Data 4 martie 2016 10:47:07
Problema Geometry Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double*’ [-Wformat=] fscanf(in, "%d%d%d%d", &segments_string[i].x1, &segments_string[i].y1, &segments_string[i].x2, &segments_string[i].y2); ^ user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘double*’ [-Wformat=] user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘double*’ [-Wformat=] user.cpp:21:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &nr_of_segments); ^ user.cpp:23:127: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d%d%d", &segments_string[i].x1, &segments_string[i].y1, &segments_string[i].x2, &segments_string[i].y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms436kbIncorect00
20ms432kbIncorect0
30ms436kbIncorect0
40ms436kbIncorect0
54ms432kbIncorect0
64ms432kbIncorect00
7120ms436kbIncorect00
8120ms440kbIncorect00
9116ms436kbIncorect00
10116ms436kbIncorect00
Punctaj total0

Ceva nu functioneaza?