Borderou de evaluare (job #1461157)

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

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:78:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%d", &x); ^ 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:59: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%lld%lld", &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
10ms280kbOK10
28ms292kbIncorect0
328ms368kbOK10
488ms560kbOK10
5268ms1756kbOK10
624ms332kbOK10
7288ms1768kbOK10
8308ms1832kbOK10
9320ms1848kbOK10
10312ms1848kbOK10
Punctaj total90

Ceva nu functioneaza?