Borderou de evaluare (job #1434393)

Utilizator roxyroxy2011Luca Roxana roxyroxy2011 Data 10 mai 2015 15:50:29
Problema Flori2 Status done
Runda itmarathon2015 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:41:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(cin,"%d %d",&v[i].x,&v[i].y); ^ user.cpp:41:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:21:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(cin,"%d",&t); ^ user.cpp: In function ‘void read()’: user.cpp:38:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(cin,"%d",&n); ^ user.cpp:41:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(cin,"%d %d",&v[i].x,&v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1580ms4204kbIncorect0
Punctaj total0

Ceva nu functioneaza?