liyujie
2025-08-28 b3810562527858a3b3d98ffa6e9c9c5b0f4a9a8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
constexpr int LOOP_COUNT = 5000000;
 
void FunctionRecursive(int loop) {
  for (volatile int i = 0; i < LOOP_COUNT; ++i) {
  }
  if (loop > 0) {
    FunctionRecursive(loop - 1);
  }
  for (volatile int i = 0; i < LOOP_COUNT; ++i) {
  }
}
 
int main() {
  while (true) {
    FunctionRecursive(10);
  }
  return 0;
}