Pagini recente » Borderou de evaluare (job #932169) | Borderou de evaluare (job #355172) | Borderou de evaluare (job #771434) | Borderou de evaluare (job #888384) | Borderou de evaluare (job #2333764)
Borderou de evaluare (job #2333764)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:26:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sons[nod].size(); ++ i)
~~^~~~~~~~~~~~~~~~~~
main.cpp:38:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < sons[nod].size(); ++ j)
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:53:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:57:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
main.cpp:72:30: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", dp[root][1] % mod);
~~~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |