This commit is contained in:
Zengtudor 2024-10-11 03:42:22 +00:00
parent 9db37f1a14
commit 267483c098

View File

@ -1,7 +1,13 @@
#include <iostream>
/*
using ull = unsigned long long;
auto &is = std::cin;
auto &os = std::cout;
ull n, a, b;
/*
cal(a,b)
1)a==b return 0;
2)a>b && a is odd return cal(a+1,b)+1;
@ -9,8 +15,6 @@ cal(a,b)
4)a>b/2 && a<b return b-a;
5)a<b/2 && b is odd return cal(a,b/2)+1;
6)a<b/2 && b is even return cal(a,b-1)+1;
*/
int main(){