Pagini recente » Borderou de evaluare (job #1131292) | Borderou de evaluare (job #1729456) | Borderou de evaluare (job #2144398) | Borderou de evaluare (job #2899320) | Borderou de evaluare (job #2176508)
Borderou de evaluare (job #2176508)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<leg[poz].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:73:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",D[i]);
^
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
user.cpp:57:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:62:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3564kb | OK | 10 |
2 | 4ms | 3504kb | OK | 10 |
3 | 4ms | 3456kb | OK | 10 |
4 | 4ms | 3448kb | OK | 10 |
5 | 28ms | 3940kb | OK | 10 |
6 | 52ms | 4256kb | OK | 10 |
7 | 68ms | 4236kb | OK | 10 |
8 | 168ms | 5328kb | OK | 10 |
9 | 108ms | 5088kb | OK | 10 |
10 | 312ms | 7412kb | OK | 10 |
Punctaj total | 100 |