Borderou de evaluare (job #1480057)

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

Raport evaluator

Compilare: user.cpp: In function ‘void make_graf()’: user.cpp:58: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 main()’: user.cpp:248:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(in,"%d",&prd[i]); ^ user.cpp:258:37: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] init[a].push_back(tipe{b,t,w}); ^ user.cpp:258:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] user.cpp:258:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:259:37: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] init[b].push_back(tipe{a,t,w}); ^ user.cpp:259:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] user.cpp:259:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:244: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:248: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:251: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:257: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ăşit1516kbTime limit exceeded.0
2100ms5736kbOK10
372ms5764kbOK10
496ms3676kbOK10
5Depăşit5976kbTime limit exceeded.0
6Depăşit5500kbTime limit exceeded.0
7100ms3136kbOK10
84ms1544kbOK10
90ms804kbOK10
108ms1156kbOK10
Punctaj total70

Ceva nu functioneaza?