Pagini recente » Borderou de evaluare (job #3223366) | Borderou de evaluare (job #2040126) | Borderou de evaluare (job #3222626) | Borderou de evaluare (job #3160891) | Borderou de evaluare (job #1981900)
Borderou de evaluare (job #1981900)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int, int)’:
user.cpp:22:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0;j < G[u].size();++j)
^
user.cpp: In function ‘int main()’:
user.cpp:41:21: warning: unused variable ‘cc’ [-Wunused-variable]
int n, m, u, v, cc = 0, s;
^
user.cpp:39: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:40: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:43: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:46:28: 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 | 1452kb | OK | 10 |
2 | 0ms | 1456kb | OK | 10 |
3 | 0ms | 1460kb | OK | 10 |
4 | 4ms | 1528kb | OK | 10 |
5 | 12ms | 1596kb | OK | 10 |
6 | 56ms | 2340kb | OK | 10 |
7 | 164ms | 3700kb | OK | 10 |
8 | 148ms | 4036kb | OK | 10 |
9 | 832ms | 9856kb | OK | 10 |
10 | 824ms | 9712kb | OK | 10 |
Punctaj total | 100 |