Borderou de evaluare (job #1608527)

Utilizator iuliusVasilescu Iulius iulius Data 22 februarie 2016 10:12:55
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:32:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d",&n); ^ user.cpp:37: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:41: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:31:29: warning: unused variable ‘j’ [-Wunused-variable] long long n,i,k,init[4],j; ^ user.cpp:32: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:36: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:37: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:64:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit280kbTime limit exceeded.0
2Depăşit284kbTime limit exceeded.0
3Depăşit288kbTime limit exceeded.0
4Depăşit288kbTime limit exceeded.0
5Depăşit288kbTime limit exceeded.0
6Depăşit284kbTime limit exceeded.0
7Depăşit292kbTime limit exceeded.0
8Depăşit288kbTime limit exceeded.0
9Depăşit284kbTime limit exceeded.0
10Depăşit296kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?