Borderou de evaluare (job #1377211)

Utilizator transparentulAlexandra Alexiu transparentul Data 5 martie 2015 20:46:21
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 52

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:74:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d S\n%d S",stanga+s[i],stanga); ^ user.cpp:74:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:77:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d S\n%d D",stanga+s[i],stanga-2*stanga); ^ user.cpp:77:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:79:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d D\n%d D",stanga-2*stanga,stanga+s[i]-2*(stanga+s[i])); ^ user.cpp:79:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&n); ^ user.cpp:20:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld%c%c",&y,&z,&c); ^ user.cpp:41:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&x); ^ user.cpp:44:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&n); ^ user.cpp:46:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld%c%c",&y,&z,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
168ms1044kbOK5
20ms264kbOK5
348ms1040kbPrimul numar corect1
448ms1044kbPrimul numar corect1
50ms260kbPrimul numar corect1
60ms260kbOK5
70ms260kbOK5
80ms256kbPrimul numar corect1
912ms572kbPrimul numar corect1
1016ms648kbPrimul numar corect1
110ms280kbPrimul numar corect1
1244ms892kbOK5
1328ms872kbPrimul numar corect1
140ms272kbOK5
150ms264kbPrimul numar corect1
160ms264kbOK5
1744ms1040kbOK5
1864ms1028kbPrimul numar corect1
1928ms904kbPrimul numar corect1
200ms252kbPrimul numar corect1
Punctaj total52

Ceva nu functioneaza?