Borderou de evaluare (job #2002469)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 19 iulie 2017 23:56:24
Problema H Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void build(int, int, int)’: user.cpp:59:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0, j = 0; i < sgt[nd << 1].lst.size() || j < sgt[nd << 1 | 1].lst.size(); ) { ^ user.cpp:59:89: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0, j = 0; i < sgt[nd << 1].lst.size() || j < sgt[nd << 1 | 1].lst.size(); ) { ^ user.cpp:60:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == sgt[nd << 1].lst.size()) ^ user.cpp:63:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j == sgt[nd << 1 | 1].lst.size()) ^ user.cpp:71:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (mnl < sgt[nd << 1].lst.size() && sgt[nd << 1].lst[mnl].y < sgt[nd].lst.back().y) ++mnl; ^ user.cpp:72:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (mnr < sgt[nd << 1 | 1].lst.size() && sgt[nd << 1 | 1].lst[mnr].y < sgt[nd].lst.back().y) ++mnr; ^ user.cpp:74:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (mxl + 1 < sgt[nd << 1].lst.size() && sgt[nd << 1].lst[mxl + 1].y <= sgt[nd].lst.back().y) ++mxl; ^ user.cpp:75:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (mxr + 1 < sgt[nd << 1 | 1].lst.size() && sgt[nd << 1 | 1].lst[mxr + 1].y >= sgt[nd].lst.back().y) ++mxr; ^ user.cpp: In function ‘int main()’: user.cpp:150:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("h.in" , "r", stdin ); ^ user.cpp:151:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("h.out", "w", stdout); ^ user.cpp:154:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:157:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &sgm[i].x, &sgm[i].y1, &sgm[i].y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit108264kbTime limit exceeded.00
2Depăşit108264kbTime limit exceeded.0
3Depăşit108264kbTime limit exceeded.0
4Depăşit108264kbTime limit exceeded.0
5908ms108152kbIncorect0
6996ms108148kbIncorect0
7Depăşit108260kbTime limit exceeded.0
8840ms108152kbIncorect0
9Depăşit108264kbTime limit exceeded.0
10664ms108148kbOK10
Punctaj total0

Ceva nu functioneaza?