Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
circular
a53
May 18th, 2019
152
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using namespace std;
long long S,p;
int N,s;
int main()
{
cin>>N;
while(N)
{
p=p*10+1;
s+=N%10;
N=N/10;
}
S=s*p;
cout<<S;
return 0;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
The Road Not Taken
1 hour ago | 0.79 KB
DRV8874Driver (AI coded)
Python | 11 hours ago | 7.14 KB
action_names_for_shortcuts_win
1 day ago | 3.38 KB
Gatewarden Build Order -- Idle Hacking
1 day ago | 1.18 KB
OG OLDHAM CODE
2 days ago | 27.75 KB
remove current bid and bid now button from au...
PHP | 2 days ago | 0.80 KB
AppUseUA
JSON | 2 days ago | 0.27 KB
Notices blood
3 days ago | 0.81 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!