Pagini recente » Borderou de evaluare (job #432804) | Borderou de evaluare (job #2242121) | Borderou de evaluare (job #1789462) | Borderou de evaluare (job #982417) | Borderou de evaluare (job #2585920)
Borderou de evaluare (job #2585920)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:16:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size();i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:49:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&n,&q);
^
main.cpp:51:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&x,&y);
^
main.cpp:76:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&w[i]);
^
main.cpp:165:22: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized]
sol[q + 1].first = mc;
~~~~~~~~~~~~~~~~~^~~~
main.cpp:145:21: warning: 'ma' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (nivel[n1i] + nivel[n3] - 2 * nivel[lca(n1i , n3)] > mc){
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 4980kb | OK | 5 |
| 2 | 13ms | 4980kb | OK | 5 |
| 3 | 14ms | 5111kb | OK | 5 |
| 4 | 15ms | 5111kb | OK | 5 |
| 5 | 277ms | 28049kb | OK | 5 |
| 6 | 296ms | 27000kb | OK | 5 |
| 7 | 332ms | 27394kb | OK | 5 |
| 8 | 309ms | 31457kb | Incorect | 0 |
| 9 | 335ms | 28049kb | OK | 5 |
| 10 | 267ms | 27131kb | OK | 5 |
| 11 | 364ms | 29884kb | OK | 5 |
| 12 | 335ms | 27262kb | OK | 5 |
| 13 | 358ms | 27918kb | OK | 5 |
| 14 | 531ms | 41156kb | OK | 5 |
| 15 | 725ms | 53084kb | OK | 5 |
| 16 | 684ms | 51249kb | OK | 5 |
| 17 | 789ms | 52822kb | OK | 5 |
| 18 | 687ms | 51380kb | OK | 5 |
| 19 | 736ms | 53084kb | OK | 5 |
| 20 | 514ms | 59375kb | Incorect | 0 |
| Punctaj total | 90 |