Borderou de evaluare (job #1480061)

Utilizator heracleRadu Muntean heracle Data 2 septembrie 2015 00:20:58
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void make_graf()’: user.cpp:65:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<init[i].size(); j++) ^ user.cpp: In function ‘int merg(short int)’: user.cpp:202:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=0; k<val[coada[i]].size(); k++) ^ user.cpp: In function ‘int main()’: user.cpp:272:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(in,"%d",&prd[i]); ^ user.cpp:282:37: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] init[a].push_back(tipe{b,t,w}); ^ user.cpp:282:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] user.cpp:282:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:283:37: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] init[b].push_back(tipe{a,t,w}); ^ user.cpp:283:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] user.cpp:283:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:268: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:272:32: 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:275: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:281:42: 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ăşit5564kbTime limit exceeded.0
2Depăşit12252kbTime limit exceeded.0
3Depăşit11508kbTime limit exceeded.0
4Depăşit8840kbTime limit exceeded.0
5Depăşit10260kbTime limit exceeded.0
6Depăşit9812kbTime limit exceeded.0
7Depăşit9940kbTime limit exceeded.0
828ms4648kbOK10
90ms2032kbOK10
1044ms4148kbIncorect0
Punctaj total20

Ceva nu functioneaza?