bolt
Try our new interface for solving problems
Problems

# Pay the Bill

published at 2/20/23, 7:49:30 pm

//A+ həlli

# include<deque>

using namespace std; int main(){ long long n; cin>>n; if(n%10==0){ cout<<n+n/10; } else{ cout<<n+n/10+1; } }

published at 2/20/23, 8:14:38 pm

Həlli 100% A+ C++

# define ll long long

using namespace std; int main() { ll n; cin>>n; ll c=n/10; ll d=n%10; if(d==0){ cout<<n+c<<endl; } else{ cout<<n+c+1<<endl; } }

published at 2/21/23, 7:13:02 pm

# include <iostream>

using namespace std; int main() { long long n,n1,n2; cin>>n; n1=n/10;
n2=n%10; if(n2==0) { cout<<n+n1; } else { cout<<n+n1+1; } }

published at 2/22/23, 6:51:28 pm

# define ll long long

using namespace std; int main () { ll n; cin >> n; ll c = n / 10; ll d = n % 10; if (d == 0) { cout << n + c << endl; } else { cout << n + c + 1 << endl; } }

published at 2/22/23, 6:54:18 pm

# include <bits/stdc++.h>

using namespace std; int main() { long long n; cin>>n; if(n%10!=0) { cout<<n+(n/10)+1; } else { cout<<n+n/10; }

return 0;


}

published at 2/22/23, 6:54:40 pm

# include <bits/stdc++.h>

using namespace std; int main() { long long n; cin>>n; if(n%10!=0) { cout<<n+(n/10)+1; } else { cout<<n+n/10; }

return 0;


} a+ verir

published at 2/24/23, 8:11:49 pm

# include <bits/stdc++.h>

using namespace std;

int main() { long long a; cin>>a; if(a % 10 == 0){ cout<<a+a/10; } else{ cout<<a+a/10+1; }

return 0;


}

published at 12/1/23, 8:14:10 pm

# include <bits/stdc++.h>

using namespace std;

# define ll long long

int main() { ll n; cin >> n; if (n % 10 == 0) cout << n + n / 10; else cout << n + n / 10 + 1; }