Borderou de evaluare (job #1461155)

Utilizator IonSebastianIon Sebastian IonSebastian Data 14 iulie 2015 21:10:31
Problema Puncte Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%d%d", &puncte[0].x, &puncte[0].y); ^ user.cpp:57:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:63:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%d%d", &puncte[i].x, &puncte[i].y); ^ user.cpp:63:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:54:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &n, &m); ^ user.cpp:57:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &puncte[0].x, &puncte[0].y); ^ user.cpp:63:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &puncte[i].x, &puncte[i].y); ^ user.cpp:78:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
28ms280kbIncorect0
332ms348kbOK10
488ms540kbOK10
5260ms1736kbIncorect0
624ms308kbOK10
7292ms1748kbIncorect0
8316ms1812kbIncorect0
9320ms1820kbIncorect0
10332ms1824kbIncorect0
Punctaj total40

Ceva nu functioneaza?