Pagini recente » Borderou de evaluare (job #1098376) | Borderou de evaluare (job #77323) | Borderou de evaluare (job #2093751) | Borderou de evaluare (job #2412544) | Borderou de evaluare (job #2462423)
Borderou de evaluare (job #2462423)
Raport evaluator
Compilare:
main.cpp: In function 'void belford(int, int)':
main.cpp:49:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u].size(); i++){
~^~~~~~~~~~~~
main.cpp: In function 'bool dijkstra(int, int)':
main.cpp:73:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u.nod].size(); i++){
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:109:45: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d%d", &nave[i].x, &nave[i].y);
^
main.cpp:109:45: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:104:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("naveplanare.in", "r", stdin);
^
main.cpp:105:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("naveplanare.out", "w", stdout);
^
main.cpp:107:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:109:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nave[i].x, &nave[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 109ms | 39321kb | OK | 5 |
2 | 95ms | 39321kb | OK | 5 |
3 | 171ms | 39452kb | OK | 5 |
4 | 264ms | 39714kb | OK | 5 |
5 | 385ms | 40062kb | OK | 5 |
6 | 311ms | 40030kb | OK | 5 |
7 | 387ms | 40095kb | OK | 5 |
8 | 432ms | 40235kb | OK | 5 |
9 | 511ms | 40235kb | OK | 5 |
10 | 517ms | 40075kb | OK | 5 |
11 | 422ms | 40235kb | OK | 5 |
12 | 516ms | 40235kb | OK | 5 |
13 | 250ms | 40103kb | OK | 5 |
14 | 493ms | 40235kb | OK | 5 |
15 | 2502ms | 42246kb | Time limit exceeded | 0 |
16 | 2505ms | 42352kb | Time limit exceeded | 0 |
17 | 2249ms | 42455kb | OK | 5 |
18 | 2501ms | 42557kb | Time limit exceeded | 0 |
19 | 1989ms | 42762kb | OK | 5 |
20 | 2505ms | 42745kb | Time limit exceeded | 0 |
Punctaj total | 80 |