Pagini recente » Borderou de evaluare (job #2853124) | Borderou de evaluare (job #748671) | Borderou de evaluare (job #312643) | Borderou de evaluare (job #900905) | Borderou de evaluare (job #2334938)
Borderou de evaluare (job #2334938)
Raport evaluator
Compilare:
main.cpp: In function 'int solve(int*, int*, int, int)':
main.cpp:27:13: warning: no return statement in function returning non-void [-Wreturn-type]
nod=r[nod];}}
^
main.cpp: In function 'int main()':
main.cpp:39:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",sol0.size()+sol1.size());
^
main.cpp:29:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rotatii2.in","r",stdin);
^
main.cpp:30:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rotatii2.out","w",stdout);
^
main.cpp:32:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:34:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&l[i],&r[i]);
^
main.cpp:36:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&l2[i],&r2[i]);
^
main.cpp: In function 'int solve(int*, int*, int, int)':
main.cpp:16:4: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
nod=root;
~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 4194kb | OK | 10 |
2 | 12ms | 4194kb | OK | 10 |
3 | 13ms | 4194kb | OK | 10 |
4 | 14ms | 4194kb | OK | 10 |
5 | 14ms | 4194kb | OK | 10 |
6 | 871ms | 25149kb | OK | 10 |
7 | 899ms | 29208kb | OK | 10 |
8 | 1292ms | 41791kb | OK | 10 |
9 | 1466ms | 45985kb | OK | 10 |
10 | 1439ms | 45985kb | OK | 10 |
Punctaj total | 100 |