Pagini recente » Borderou de evaluare (job #3336651) | Borderou de evaluare (job #3355406) | Borderou de evaluare (job #3304648) | Borderou de evaluare (job #3302180) | Borderou de evaluare (job #3337953)
Borderou de evaluare (job #3337953)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:96: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
46 | if (n3!=g1 && n3!=n2 && (v[g1].g+v[n2].g+v[n3].g)*(v[g1].h+v[n2].h+v[n3].h)<minn)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:56:106: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
56 | if (n3!=g1 && n3!=g1 && n3!=n2 && (v[g1].g+v[n2].g+v[n3].g)*(v[g1].h+v[n2].h+v[n3].h)<minn)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:83:83: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
83 | if((v[g1].g+v[g2].g+v[g3].g)*(v[h1].h+v[h2].h+v[h3].h)<minn)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:87:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
87 | if(n2!=n4 && n4!=n3 && n4!=g1 || n4!=h1)
| ~~~~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:88:91: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
88 | if((v[g1].g+v[g2].g+v[g3].g)*(v[h1].h+v[h2].h+v[h3].h)<minn)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:82:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
82 | if(g3>0)
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | Incorect | 0 | 0 |
| 2 | 0ms | 303kb | Incorect | 0 | 0 |
| 3 | 0ms | 303kb | Incorect | 0 | 0 |
| 4 | 0ms | 303kb | Incorect | 0 | 0 |
| 5 | 3ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 8 | 19ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 | 0 |
| 9 | 43ms | 303kb | Incorect | 0 |
| 10 | 72ms | 303kb | Incorect | 0 | 0 |
| Punctaj total | 0 |