Pagini recente » Borderou de evaluare (job #1714137) | Borderou de evaluare (job #1585927) | Borderou de evaluare (job #1999773) | Borderou de evaluare (job #1382177) | Borderou de evaluare (job #1342189)
Borderou de evaluare (job #1342189)
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:63: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:64: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:65: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:67: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 | 1008kb | OK | 10 |
| 3 | 0ms | 1044kb | OK | 10 |
| 4 | 4ms | 1056kb | OK | 10 |
| 5 | 32ms | 1308kb | OK | 10 |
| 6 | 84ms | 1580kb | OK | 10 |
| 7 | 96ms | 1808kb | OK | 10 |
| 8 | 76ms | 2132kb | OK | 10 |
| 9 | 376ms | 4088kb | OK | 10 |
| 10 | Depăşit | 4988kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |