Borderou de evaluare (job #1608522)

Utilizator iuliusVasilescu Iulius iulius Data 22 februarie 2016 10:11:04
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:33:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d",&n); ^ user.cpp:50:74: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] fscanf(in,"%lld %lld %lld %d",&x.v[3][3],&x.v[2][3],&x.v[1][3],&k); ^ user.cpp:54:90: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%d\n",(y.v[1][3]*init[1]+y.v[2][3]*init[2]+y.v[3][3]*init[3])%666013); ^ user.cpp:32:29: warning: unused variable ‘j’ [-Wunused-variable] long long n,i,k,init[4],j; ^ user.cpp:33:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.cpp:49:63: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld %lld %lld",&init[1],&init[2],&init[3]); ^ user.cpp:50:75: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld %lld %lld %d",&x.v[3][3],&x.v[2][3],&x.v[1][3],&k); ^ user.cpp: In function ‘MATRIX multiply(int)’: user.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit448kbTime limit exceeded.0
2Depăşit448kbTime limit exceeded.0
3Depăşit452kbTime limit exceeded.0
4Depăşit448kbTime limit exceeded.0
5Depăşit448kbTime limit exceeded.0
6Depăşit452kbTime limit exceeded.0
7Depăşit452kbTime limit exceeded.0
8Depăşit456kbTime limit exceeded.0
9Depăşit448kbTime limit exceeded.0
10Depăşit452kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?