Pagini recente » Borderou de evaluare (job #1444042) | Borderou de evaluare (job #2308574) | Borderou de evaluare (job #3217070) | Borderou de evaluare (job #2012887) | Borderou de evaluare (job #1736342)
Borderou de evaluare (job #1736342)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:245:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("game2d.in","r",stdin);
^
user.cpp:246:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("game2d.out","w",stdout);
^
user.cpp:248:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:249:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&start.x,&start.y,&finish.x,&finish.y);
^
user.cpp:251:132: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&rectangle[i].upperLeft.x,&rectangle[i].upperLeft.y,&rectangle[i].lowerRight.x,&rectangle[i].lowerRight.y);
^
user.cpp: In function ‘void Dijsktra()’:
user.cpp:225:21: warning: array subscript is below array bounds [-Warray-bounds]
best[nodeCount-1]=0;
^
user.cpp:237:58: warning: ‘node’ may be used uninitialized in this function [-Wmaybe-uninitialized]
best[neighbour]=min(best[neighbour],best[node]+bestCost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 388kb | Ok! | 10 |
2 | 0ms | 420kb | Ok! | 10 |
3 | 4ms | 444kb | Ok! | 10 |
4 | 24ms | 836kb | Ok! | 10 |
5 | 52ms | 1364kb | Ok! | 10 |
6 | 2448ms | 7604kb | Ok! | 10 |
7 | 2360ms | 8908kb | Ok! | 10 |
8 | 2376ms | 11892kb | Ok! | 10 |
9 | 2408ms | 20672kb | Ok! | 10 |
10 | Depăşit | 14652kb | Time limit exceeded. | 0 |
Punctaj total | 90 |