Borderou de evaluare (job #1968824)

Utilizator george_stelianChichirim George george_stelian Data 17 aprilie 2017 21:36:03
Problema Tcast Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void solve(std::vector<int>, std::vector<int>, int)’: user.cpp:27:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<fii.size();i++) poz[i]=0; ^ user.cpp:28:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<=v.size();i++) cnt[i]=0; ^ user.cpp:29:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<=v.size()+fii.size();i++) vaz[i]=1; ^ user.cpp:41:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<fii.size();j++) ^ user.cpp:42:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(;poz[j]<a+fii.size() && poz[j]<v.size() && d[fii[j]][v[poz[j]]]<=lim;poz[j]++) ^ user.cpp:42:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(;poz[j]<a+fii.size() && poz[j]<v.size() && d[fii[j]][v[poz[j]]]<=lim;poz[j]++) ^ user.cpp: In function ‘int main()’: user.cpp:86:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] for(int j=0;j<t;j++) scanf("%d",&verif[i][j]); ^ user.cpp:75:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tcast.in", "r", stdin); ^ user.cpp:76:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tcast.out", "w", stdout); ^ user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&t); ^ user.cpp:81:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^ user.cpp:86:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int j=0;j<t;j++) scanf("%d",&verif[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms364kbOK10
2232ms13140kbOK10
3252ms13144kbOK10
4Depăşit19900kbTime limit exceeded.0
532ms2524kbOK10
664ms6256kbOK10
796ms7800kbOK10
8144ms10204kbOK10
9204ms12556kbOK10
10Depăşit25960kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?