Pagini recente » Borderou de evaluare (job #2226570) | Borderou de evaluare (job #756652) | Borderou de evaluare (job #610917) | Borderou de evaluare (job #1531500) | Borderou de evaluare (job #1899530)
Borderou de evaluare (job #1899530)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:12:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[q[st]].size() ; ++i){
^
user.cpp:9:25: warning: unused variable ‘timp’ [-Wunused-variable]
int st = 1, dr = 1, timp = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
user.cpp:27:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &s);
^
user.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1456kb | OK | 10 |
2 | 0ms | 1452kb | OK | 10 |
3 | 0ms | 1452kb | OK | 10 |
4 | 4ms | 1516kb | OK | 10 |
5 | 12ms | 1596kb | OK | 10 |
6 | 56ms | 2376kb | OK | 10 |
7 | 164ms | 3808kb | OK | 10 |
8 | 140ms | 4084kb | OK | 10 |
9 | 816ms | 9988kb | OK | 10 |
10 | 812ms | 9992kb | OK | 10 |
Punctaj total | 100 |