Pagini recente » Borderou de evaluare (job #1132633) | Borderou de evaluare (job #1558575) | Borderou de evaluare (job #2502853) | Borderou de evaluare (job #1915042) | Borderou de evaluare (job #1342192)
Borderou de evaluare (job #1342192)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[w.x].size();i++){
^
user.cpp:26:8: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
int i,k,j;
^
user.cpp:26:10: warning: unused variable ‘j’ [-Wunused-variable]
int i,k,j;
^
user.cpp: In function ‘int main()’:
user.cpp:62: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:63: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:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:66:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1012kb | OK | 10 |
2 | 0ms | 1012kb | OK | 10 |
3 | 0ms | 1044kb | OK | 10 |
4 | 4ms | 1056kb | OK | 10 |
5 | 32ms | 1312kb | OK | 10 |
6 | 56ms | 1580kb | OK | 10 |
7 | 96ms | 1804kb | OK | 10 |
8 | 76ms | 2132kb | OK | 10 |
9 | 280ms | 4084kb | OK | 10 |
10 | 344ms | 4884kb | OK | 10 |
Punctaj total | 100 |