Borderou de evaluare (job #1480017)

Utilizator heracleRadu Muntean heracle Data 1 septembrie 2015 21:22:53
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void make_graf()’: user.cpp:60:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<init[i].size(); j++) ^ user.cpp: In member function ‘bool per::operator=(const per&)’: user.cpp:79:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int merg(int)’: user.cpp:170:17: warning: narrowing conversion of ‘(x + 1111)’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] h.push(per{1111+x,0}); ^ user.cpp:193:31: warning: narrowing conversion of ‘v[((int)val[p])]’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] h.push(per{val[p],v[val[p]]}); ^ user.cpp: In function ‘int main()’: user.cpp:208:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(in,"%d",&prd[i]); ^ user.cpp:218:31: warning: narrowing conversion of ‘b’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] init[a].push_back(tipe{b,t,w}); ^ user.cpp:218:31: warning: narrowing conversion of ‘t’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:218:31: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:219:31: warning: narrowing conversion of ‘a’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] init[b].push_back(tipe{a,t,w}); ^ user.cpp:219:31: warning: narrowing conversion of ‘t’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:219:31: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:204:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&n,&k); ^ user.cpp:208:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&prd[i]); ^ user.cpp:211:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&m); ^ user.cpp:217:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&a,&b,&t,&w); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1520kbTime limit exceeded.0
292ms5672kbOK10
376ms5760kbOK10
484ms3576kbOK10
5Depăşit5920kbTime limit exceeded.0
6Depăşit5412kbTime limit exceeded.0
7Depăşit2984kbTime limit exceeded.0
84ms1544kbOK10
90ms796kbOK10
1012ms1128kbOK10
Punctaj total60

Ceva nu functioneaza?