Pagini recente » Borderou de evaluare (job #2338602) | Borderou de evaluare (job #986228) | Borderou de evaluare (job #3307187) | Borderou de evaluare (job #1834708) | Borderou de evaluare (job #2857346)
Borderou de evaluare (job #2857346)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:15:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0; i<v[nod].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:62:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
62 | if (premiu[a]>mx || premiu[a]==mx && x<xx || premiu[a]==mx && x==xx && y<yy)
| ~~~~~~~~~~~~~~^~~~~~~
main.cpp:62:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
62 | if (premiu[a]>mx || premiu[a]==mx && x<xx || premiu[a]==mx && x==xx && y<yy)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:69:26: warning: 'yy' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | g<<mx<<" "<<xx<<" "<<yy;
| ^~
main.cpp:69:21: warning: 'xx' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | g<<mx<<" "<<xx<<" "<<yy;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 6ms | 4546kb | OK | 10 |
| 2 | 6ms | 4550kb | OK | 10 |
| 3 | 6ms | 4526kb | OK | 10 |
| 4 | 10ms | 4628kb | OK | 10 |
| 5 | 11ms | 4628kb | Incorect | 0 |
| 6 | 24ms | 6901kb | OK | 10 |
| 7 | 326ms | 11857kb | OK | 10 |
| 8 | 47ms | 9240kb | Incorect | 0 |
| 9 | 269ms | 9490kb | OK | 10 |
| 10 | 378ms | 11603kb | OK | 10 |
| Punctaj total | 80 |