Pagini recente » Borderou de evaluare (job #2274158) | Borderou de evaluare (job #208092) | Borderou de evaluare (job #2236666) | Borderou de evaluare (job #2428907) | Borderou de evaluare (job #1715954)
Borderou de evaluare (job #1715954)
Raport evaluator
Compilare:
user.cpp: In function ‘void ComputeDown(int, int)’:
user.cpp:15:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void ComputeUp(int, int)’:
user.cpp:30:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp:31:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(g[node][i]!=father)
^
user.cpp:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.in","r",stdin);
^
user.cpp:42:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.out","w",stdout);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:46:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&value[i]);
^
user.cpp:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:55:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1456kb | OK | 10 |
2 | 0ms | 1472kb | OK | 10 |
3 | 4ms | 1532kb | OK | 10 |
4 | 8ms | 1680kb | OK | 10 |
5 | 16ms | 1844kb | OK | 10 |
6 | 40ms | 2408kb | OK | 10 |
7 | 96ms | 3368kb | OK | 10 |
8 | 136ms | 4128kb | OK | 10 |
9 | 196ms | 4888kb | OK | 10 |
10 | 224ms | 5264kb | OK | 10 |
Punctaj total | 100 |