Hello guys, i did not find any bug in my code, so can you please help me. Link to my submission: http://www.z-trening.com/submit.php?submit=7100134316&subm_code=1
O-morse-translator !!!
"... input contains a text (not more than 2 MB of data)."
Your code:
char text[100000];
Your code:
char text[100000];
How much is 2MB of data ?
2097152.
and finish output with cout << endl;
and finish output with cout << endl;
It still doesn't work :S
and replace
cin.getline(text, 1000);
... and stil don't work.
I try
gets(text);
and got TLE and WA
cin.getline(text, 1000);
... and stil don't work.
I try
gets(text);
and got TLE and WA
Damn :S
Check mail.