I saw,that codeforce support javascript and php. I am reading both of them,these days,I would love to solve some problems with them. The problem,is that I do not know how to read the input with these language.
Could you help me??? I really appreciate it. :D
In PHP try:
In JavaScript, I believe:
Probably most of Div2 A/B problems could be solved in scripting languages but you should not expect them quite usable.
Yea you are right in the last setence... I just want to use them here,just for learning the language...not to solve complex problems.
For the code lines,I will check them. Thank you for your time !!!
Then you may have a look at my small site — problems here are simpler and no restrictions on execution will bore you — since only answer is checked, ha-ha.
Sorry for advertising :)
PHP: You may try:
$input = fgets(STDIN, 4);
Echo to output
JavaScript:
Is prompt / alert work ?
(I am using my phone right now to access Codeforces, so I am too lazy to test it)
I am bored to write code right now :P. I will try both tomorrow. Thank you for you time too !!!