Pagini recente » Borderou de evaluare (job #2914885) | Borderou de evaluare (job #886573) | Borderou de evaluare (job #2263338) | Borderou de evaluare (job #3180724) | Borderou de evaluare (job #1441206)
Borderou de evaluare (job #1441206)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(int, int, int, int, int)’:
user.cpp:50:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arb[nod].size() && ok; ++i)
^
user.cpp: In function ‘void arbore()’:
user.cpp:81:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<arb[2*nod].size() || j<arb[2*nod+1].size())
^
user.cpp:81:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<arb[2*nod].size() || j<arb[2*nod+1].size())
^
user.cpp:83:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<arb[2*nod].size() && j<arb[2*nod+1].size() && arb[2*nod][i]<arb[2*nod+1][j])
^
user.cpp:83:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<arb[2*nod].size() && j<arb[2*nod+1].size() && arb[2*nod][i]<arb[2*nod+1][j])
^
user.cpp:85:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(i<arb[2*nod].size() && j<arb[2*nod+1].size() && arb[2*nod][i]>arb[2*nod+1][j])
^
user.cpp:85:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(i<arb[2*nod].size() && j<arb[2*nod+1].size() && arb[2*nod][i]>arb[2*nod+1][j])
^
user.cpp:87:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(i<arb[2*nod].size())
^
user.cpp: In function ‘int main()’:
user.cpp:117: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:118: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:119:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:121:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2056kb | OK | 5 |
2 | 0ms | 2052kb | OK | 5 |
3 | 4ms | 2124kb | OK | 5 |
4 | 4ms | 2120kb | OK | 5 |
5 | 4ms | 2136kb | OK | 5 |
6 | 4ms | 2132kb | OK | 5 |
7 | 4ms | 2136kb | OK | 5 |
8 | 4ms | 2132kb | OK | 5 |
9 | 4ms | 2136kb | OK | 5 |
10 | 4ms | 2136kb | OK | 5 |
11 | 12ms | 2424kb | OK | 5 |
12 | 12ms | 2420kb | OK | 5 |
13 | 12ms | 2464kb | OK | 5 |
14 | 12ms | 2444kb | OK | 5 |
15 | 260ms | 11780kb | OK | 5 |
16 | 268ms | 11860kb | OK | 5 |
17 | 276ms | 12012kb | OK | 5 |
18 | 264ms | 11764kb | OK | 5 |
19 | 252ms | 11404kb | OK | 5 |
20 | 264ms | 11788kb | OK | 5 |
Punctaj total | 100 |