Borderou de evaluare (job #2316542)

Utilizator PredaBossPreda Andrei PredaBoss Data 11 ianuarie 2019 20:47:51
Problema Parc Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:48:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(ind < v.size() && v[ind].second <= xg) ind++; ~~~~^~~~~~~~~~ main.cpp:49:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ind < v.size() && v[ind].first == xg) P.push_back(con); ~~~~^~~~~~~~~~ main.cpp:52:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(ind < v.size() && v[ind].first < xg + dx) xg += v[ind].second - v[ind].first, ind++; ~~~~^~~~~~~~~~ main.cpp:54:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ind < v.size() && v[ind].first == xg) P.push_back(con); ~~~~^~~~~~~~~~ main.cpp:72:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(ind < w.size() && w[ind].second <= yg) ind++; ~~~~^~~~~~~~~~ main.cpp:73:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ind < w.size() && w[ind].first == yg) P.push_back(con); ~~~~^~~~~~~~~~ main.cpp:76:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(ind < w.size() && w[ind].first < yg + dy) yg += w[ind].second - w[ind].first, ind++; ~~~~^~~~~~~~~~ main.cpp:78:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ind < w.size() && w[ind].first == yg) P.push_back(con); ~~~~^~~~~~~~~~ main.cpp:94:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i + 1 < P.size(); i++) if(P[i] == P[i + 1]) ans *= 2; ~~~~~~^~~~~~~~~~ main.cpp:12:68: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d%d%d%d%d", &xparc, &yparc, &xg, &yg, &xpr, &ypr); ^ main.cpp:15:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &m); ^ main.cpp:18:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &a, &b); ^ main.cpp:22:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &n); ^ main.cpp:25:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbBine !10
25ms131kbBine !10
32ms131kbBine !10
42ms131kbBine !10
53ms131kbBine !10
64ms131kbBine !10
75ms131kbBine !10
85ms131kbBine !10
95ms131kbBine !10
105ms131kbBine !10
Punctaj total100

Ceva nu functioneaza?