Pagini recente » Borderou de evaluare (job #2352786) | Borderou de evaluare (job #484358) | Borderou de evaluare (job #1482319) | Borderou de evaluare (job #1541559) | Borderou de evaluare (job #1630752)
Borderou de evaluare (job #1630752)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:39:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vecin[nod].size();i++)
^
user.cpp: In function ‘void dfs2(int, int, int)’:
user.cpp:77:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vecin[nod].size();i++)
^
user.cpp: In function ‘int lca(int, int)’:
user.cpp:150:13: warning: statement has no effect [-Wunused-value]
nivel[n1];
^
user.cpp:151:13: warning: statement has no effect [-Wunused-value]
nivel[n2];
^
user.cpp: In function ‘void prec(int)’:
user.cpp:174:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<v[i].fii.size();j++){
^
user.cpp: In function ‘int main()’:
user.cpp:215:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("plimbare3.in","r",stdin);
^
user.cpp:216:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("plimbare3.out","w",stdout);
^
user.cpp:219:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&n);
^
user.cpp:222:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 12916kb | Incorect | 0 |
2 | 32ms | 13644kb | Incorect | 0 |
3 | 52ms | 14384kb | Incorect | 0 |
4 | 256ms | 20316kb | Incorect | 0 |
5 | 556ms | 27196kb | Incorect | 0 |
6 | 560ms | 27488kb | Incorect | 0 |
7 | 672ms | Depăşit | Memory limit exceeded. | 0 |
8 | 560ms | Depăşit | Memory limit exceeded. | 0 |
9 | 560ms | Depăşit | Memory limit exceeded. | 0 |
10 | 560ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |