Pagini recente » Borderou de evaluare (job #932426) | Borderou de evaluare (job #2396334) | Borderou de evaluare (job #2957757) | Borderou de evaluare (job #2406156) | Borderou de evaluare (job #1438563)
Borderou de evaluare (job #1438563)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int, int, int, int)’:
user.cpp:35:9: warning: unused variable ‘i’ [-Wunused-variable]
int i , j , mij;
^
user.cpp:35:13: warning: unused variable ‘j’ [-Wunused-variable]
int i , j , mij;
^
user.cpp: In function ‘int interogare(int, int, int, int, int)’:
user.cpp:54:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < arb[nod].size(); ++i) sol[++sol[0]] = arb[nod][i];
^
user.cpp: In function ‘int main()’:
user.cpp:149:38: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (arb[nod].empty() && left <= NR & right <= NR)
^
user.cpp:152:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 , j = 0; i < arb[left].size() || j < arb[right].size(); )
^
user.cpp:152:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 , j = 0; i < arb[left].size() || j < arb[right].size(); )
^
user.cpp:154:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < arb[left].size() && j < arb[right].size() && arb[left][i] < arb[right][j])
^
user.cpp:154:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < arb[left].size() && j < arb[right].size() && arb[left][i] < arb[right][j])
^
user.cpp:158:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (i < arb[left].size() && j < arb[right].size())
^
user.cpp:158:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (i < arb[left].size() && j < arb[right].size())
^
user.cpp:162:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (i < arb[left].size())
^
user.cpp:123:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana2.in","r",stdin);
^
user.cpp:124:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana2.out","w",stdout);
^
user.cpp:126:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:130:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &A[i].x, &A[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2420kb | OK | 5 |
2 | 0ms | 2416kb | OK | 5 |
3 | 4ms | 2484kb | Incorect | 0 |
4 | 4ms | 2476kb | Incorect | 0 |
5 | 4ms | 2488kb | Incorect | 0 |
6 | 4ms | 2496kb | Incorect | 0 |
7 | 4ms | 2492kb | Incorect | 0 |
8 | 4ms | 2488kb | Incorect | 0 |
9 | 4ms | 2492kb | Incorect | 0 |
10 | 4ms | 2496kb | Incorect | 0 |
11 | 24ms | 2904kb | Incorect | 0 |
12 | 20ms | 2780kb | Incorect | 0 |
13 | 24ms | 2904kb | Incorect | 0 |
14 | 24ms | 2904kb | Incorect | 0 |
15 | Depăşit | 11748kb | Time limit exceeded. | 0 |
16 | Depăşit | 11948kb | Time limit exceeded. | 0 |
17 | Depăşit | 12088kb | Time limit exceeded. | 0 |
18 | Depăşit | 11820kb | Time limit exceeded. | 0 |
19 | Depăşit | 11504kb | Time limit exceeded. | 0 |
20 | Depăşit | 11852kb | Time limit exceeded. | 0 |
Punctaj total | 10 |