Pagini recente » Borderou de evaluare (job #1159260) | Borderou de evaluare (job #1854248) | Borderou de evaluare (job #85270) | Borderou de evaluare (job #3264752) | Borderou de evaluare (job #2442074)
Borderou de evaluare (job #2442074)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:30:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u.x].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:43:21: warning: unused variable 'minn' [-Wunused-variable]
int m,k,i,x,y,z,minn,j,l,ll;
^~~~
main.cpp:43:30: warning: unused variable 'll' [-Wunused-variable]
int m,k,i,x,y,z,minn,j,l,ll;
^~
main.cpp:41:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("ubuntzei.in", "r",stdin);
^
main.cpp:42:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out", "w",stdout);
^
main.cpp:44:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
main.cpp:46:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:52:36: 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 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 |
4 | 2ms | 262kb | OK | 5 |
5 | 2ms | 262kb | OK | 5 |
6 | 3ms | 262kb | OK | 5 |
7 | 4ms | 262kb | OK | 5 |
8 | 4ms | 262kb | OK | 5 |
9 | 6ms | 393kb | OK | 5 |
10 | 9ms | 524kb | OK | 5 |
11 | 14ms | 786kb | OK | 5 |
12 | 14ms | 786kb | OK | 5 |
13 | 25ms | 1310kb | OK | 5 |
14 | 55ms | 2359kb | OK | 5 |
15 | 103ms | 4587kb | OK | 5 |
16 | 105ms | 4718kb | OK | 5 |
17 | 109ms | 4718kb | OK | 5 |
18 | 110ms | 4718kb | OK | 5 |
19 | 120ms | 4849kb | OK | 5 |
20 | 2ms | 131kb | OK | 5 |
Punctaj total | 100 |