Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ slow
Function
slow
code/mathematics/fht.test.cpp:3–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Field testing: CSAcademy Random Nim Generator, CSAcademy And Closure
2
3
vi slow(vi a, vi b) {
4
vi c(size(a));
5
rep(i,0,size(a)) {
6
rep(j,0,size(b)) {
7
c[i^j] += a[i] * b[j];
8
}
9
}
10
return c;
11
}
12
13
void test() {
14
rep(it,0,1000) {
Callers
1
test
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected