Pagini recente » Borderou de evaluare (job #2557470) | Borderou de evaluare (job #2381668) | Borderou de evaluare (job #242512) | Borderou de evaluare (job #3204166) | Borderou de evaluare (job #1431133)
Borderou de evaluare (job #1431133)
Raport evaluator
Compilare:
user.cpp: In function ‘graph* bfs(Graph, int)’:
user.cpp:53:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < graf->lists[u].size(); i++) {
^
user.cpp:46:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:67:31: 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:68:33: 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:70:31: 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:73:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 4ms | 544kb | OK | 10 |
5 | 8ms | 716kb | OK | 10 |
6 | 56ms | 1788kb | OK | 10 |
7 | 164ms | 3976kb | OK | 10 |
8 | 140ms | 4084kb | OK | 10 |
9 | 816ms | 15040kb | OK | 10 |
10 | 804ms | 15036kb | OK | 10 |
Punctaj total | 100 |