Pagini recente » Borderou de evaluare (job #276066) | Borderou de evaluare (job #1748622) | Borderou de evaluare (job #165006) | Borderou de evaluare (job #274294) | Borderou de evaluare (job #1708498)
Borderou de evaluare (job #1708498)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra()’:
user.cpp:25:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0 ; i < G[x].size() ; i++ )
^
user.cpp:14:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k,val,x;
^
user.cpp:14:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,val,x;
^
user.cpp: In function ‘int main()’:
user.cpp:36: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:37: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:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&M);
^
user.cpp:43:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&a,&b,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1432kb | OK | 10 |
2 | 0ms | 1428kb | OK | 10 |
3 | 4ms | 1476kb | OK | 10 |
4 | 4ms | 1496kb | OK | 10 |
5 | 28ms | 1908kb | OK | 10 |
6 | 56ms | 2320kb | OK | 10 |
7 | 76ms | 2576kb | OK | 10 |
8 | 88ms | 2896kb | OK | 10 |
9 | 296ms | 5228kb | OK | 10 |
10 | 392ms | 6256kb | OK | 10 |
Punctaj total | 100 |