Pagini recente » Borderou de evaluare (job #1915300) | Borderou de evaluare (job #1737310) | Borderou de evaluare (job #1065314) | Borderou de evaluare (job #306048) | Borderou de evaluare (job #2002568)
Borderou de evaluare (job #2002568)
Raport evaluator
Compilare:
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:55: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:55: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:56:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == sgt[nd << 1].lst.size())
^
user.cpp:59:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == sgt[nd << 1 | 1].lst.size())
^
user.cpp:67: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:68: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:70: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:71: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:172: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:173: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:179:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:182: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 |
1 | 400ms | 78676kb | Incorect | 0 | 0 |
2 | 392ms | 78676kb | Incorect | 0 |
3 | 396ms | 78680kb | Incorect | 0 |
4 | 400ms | 78680kb | Incorect | 0 |
5 | 384ms | 78676kb | Incorect | 0 |
6 | 404ms | 78676kb | Incorect | 0 |
7 | 392ms | 78672kb | Incorect | 0 |
8 | 412ms | 78680kb | Incorect | 0 |
9 | 384ms | 78684kb | Incorect | 0 |
10 | 368ms | 78676kb | Incorect | 0 |
Punctaj total | 0 |