Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
cmmnr
a53
Oct 17th, 2021
150
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using namespace std;
int main()
{
long long m,n,p=1,nmax=0;
cin>>n;
while(p<=n)
{
m=n/p/10*p+n%p;
if(m>nmax)
nmax=m;
p*=10;
}
cout<<nmax;
return 0;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
BTC SWAP GLITCH
CSS | 9 min ago | 1.01 KB
Exploit Documentation
CSS | 9 min ago | 1.01 KB
Older node trading
CSS | 9 min ago | 1.01 KB
How to hack an exchange
CSS | 9 min ago | 1.01 KB
Get $12,000 from this mehtod
CSS | 9 min ago | 0.86 KB
✅ +12,000$ in 2 days
CSS | 10 min ago | 0.86 KB
This month smells like money
CSS | 31 min ago | 1.01 KB
✅ Free Money Exploit
CSS | 31 min ago | 1.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!