update
This commit is contained in:
parent
9db37f1a14
commit
267483c098
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user