SomeoneFromPoland SomeoneFromPoland 09.08.2017, 03:01:11 2 + #include#include#include#include#includeusing namespace std;int main(){ char s[1000]; char * sp; map mp; while(gets(s)){ sp=strtok(s," "); while(sp!=NULL){ mp[sp]=0; sp=strtok(NULL," "); } map:: iterator it; for(it=mp.begin();it!=mp.end();it++){ cout<<(*it).first<
SomeoneFromPoland SomeoneFromPoland 09.08.2017, 03:06:07 0 + @SomeoneFromPoland: Ciekawe co to jest, znalazłem to na pastebinie.
SomeoneFromPoland SomeoneFromPoland 09.08.2017, 03:07:33 0 + @anonimek123456: Po to jest przecież pastebin, mnie bardziej interesuje co to za magiczna magia.
anonimek123456 anonimek123456 09.08.2017, 03:08:52 0 + @SomeoneFromPoland: kawałek sys'a od bulbulgatora.
SomeoneFromPoland SomeoneFromPoland 09.08.2017, 03:09:39 1 + @anonimek123456: Ale taki fajny bulbulbator ?
#include
#include
#include
#include
using namespace std;
int main(){
char s[1000];
char * sp;
map mp;
while(gets(s)){
sp=strtok(s," ");
while(sp!=NULL){
mp[sp]=0;
sp=strtok(NULL," ");
}
map:: iterator it;
for(it=mp.begin();it!=mp.end();it++){
cout<<(*it).first<