Borderou de evaluare (job #1867802)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 4 februarie 2017 12:48:27
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%d\n",&n); ^ user.cpp:56:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%d %d\n",&x,&k); ^ user.cpp:56:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:60:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",sol); ^ user.cpp:54:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n",&n); ^ user.cpp:56:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n",&x,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms1884kbOK1010
212ms1884kbOK1010
312ms1880kbOK1010
444ms1880kbOK1010
548ms1880kbOK1010
668ms1876kbOK1010
752ms1884kbOK1010
8220ms1876kbIncorect00
9220ms1880kbIncorect0
10220ms1880kbIncorect0
Punctaj total70

Ceva nu functioneaza?