Borderou de evaluare (job #2253378)

Utilizator RazvanPanaiteRazvan Panaite RazvanPanaite Data 3 octombrie 2018 22:01:32
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:25:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] {fscanf(fin,"%d%d",&a,&b); ^ user.cpp:25:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void pie(int, int)’: user.cpp:70:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d\n",x-ans); ^ user.cpp: In function ‘int main()’: user.cpp:22:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ user.cpp:25:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {fscanf(fin,"%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms4016kbOK1010
28ms4016kbOK1010
38ms4020kbOK1010
416ms4016kbOK1010
516ms4020kbOK1010
620ms4020kbOK1010
716ms4020kbOK1010
812ms4016kbKilled by signal 8(SIGFPE).00
912ms4020kbKilled by signal 8(SIGFPE).0
1012ms4020kbKilled by signal 8(SIGFPE).0
Punctaj total70

Ceva nu functioneaza?