Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
afisarea al k ului element de k ori
catalyn
Mar 6th, 2017
101
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
#include<cstring>
using namespace std;
int main()
{
char s[256];
cin.getline(s,256);
int i,k;
cin>>k;
for(i=0;i<k;i++)
{
cout<<s[k-1];
}
return 0;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Module v1.3 - rate calculation bug (repro + w...
CSS | 12 min ago | 0.58 KB
dev loader method
CSS | 13 min ago | 0.79 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 23 min ago | 0.79 KB
✅ Admin Password
CSS | 25 min ago | 0.58 KB
dev loader method
CSS | 34 min ago | 0.58 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 44 min ago | 0.58 KB
Untitled
47 min ago | 0.52 KB
I got $12,000 from this bug
CSS | 1 hour ago | 0.99 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!