Pagini recente » Borderou de evaluare (job #1235325) | Borderou de evaluare (job #3123023) | Borderou de evaluare (job #1554219) | Borderou de evaluare (job #2307145) | Borderou de evaluare (job #1981898)
Borderou de evaluare (job #1981898)
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 | 300kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 4ms | 360kb | OK | 10 |
5 | 8ms | 420kb | OK | 10 |
6 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 50 |