mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
178 B
C
13 lines
178 B
C
int cut(int);
|
|
|
|
int f(int n) {
|
|
int i = 0;
|
|
while (++i < cut(n) + 1) {
|
|
int j = i + 1;
|
|
cut(0);
|
|
int k = j + cut(j);
|
|
cut(k);
|
|
}
|
|
return 1 + cut(i);
|
|
}
|