Pagini recente » Borderou de evaluare (job #3263699) | Borderou de evaluare (job #3278956) | Borderou de evaluare (job #109702) | Borderou de evaluare (job #405316) | Borderou de evaluare (job #1753081)
Borderou de evaluare (job #1753081)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:18:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[x].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:54:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in", "r", stdin);
^
user.cpp:55:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out", "w", stdout);
^
user.cpp:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&m);
^
user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[0][i]);
^
user.cpp:73:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp: In function ‘int lca(int, int)’:
user.cpp:41:35: warning: ‘log2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (a[k][x] && a[k][x] != a[k][y])
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1464kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 1496kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 12ms | 2176kb | Incorect | 0 | 0 |
4 | 164ms | 6052kb | Incorect | 0 | 0 |
5 | 184ms | 9416kb | Incorect | 0 | 0 |
6 | 296ms | 9420kb | Incorect | 0 | 0 |
7 | Depăşit | 13176kb | Time limit exceeded. | 0 | 0 |
8 | 1308ms | 9420kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 668ms | 9416kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 2404ms | 9420kb | Incorect | 0 |
Punctaj total | 0 |