Borderou de evaluare (job #1228190)

Utilizator george_stelianChichirim George george_stelian Data 13 septembrie 2014 00:03:24
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:70: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d%d%d%d",&x,&y,&z,&v[3][3],&v[2][3],&v[1][3],&n); ^ user.cpp:19:70: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:19:70: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:38:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",x*sol[1][1]+y*sol[2][1]+z*sol[3][1]); ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri.in", "r", stdin); ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri.out", "w", stdout); ^ user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d",&t);t;t--) ^ user.cpp:19:71: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d%d",&x,&y,&z,&v[3][3],&v[2][3],&v[1][3],&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbRaspuns gresit!0
20ms264kbRaspuns gresit!0
30ms268kbRaspuns gresit!0
40ms264kbRaspuns gresit!0
50ms264kbRaspuns gresit!0
60ms264kbRaspuns gresit!0
70ms268kbRaspuns gresit!0
80ms268kbRaspuns gresit!0
90ms260kbRaspuns gresit!0
10Depăşit256kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?