I Participated A Programming Contest.

Dec 24, 2014 23:16
This year, I have nothing to do with Xmas.

I went to school, researched, worked, came back to home and participated a programming contest.
And misery as well, I was crushing defeat in the contest.

The first problem of the contest demanded the result of A+B.
It looks like really simple and easy, however, it was forbidden to use addition/subtraction operator, and we could use multiplication/division operator and "if" sentence only (comparison operators are not included).
Furthermore, the code was limited to 1000 lines and the number of available variables was limited to 26.

I tried to solve this problem, and about 4 hour later, the contest finished while the problem is not solved.
(Accordingly, just one participant could solve it completely.)

Finally, the answer will be published, but I don't see it and keep trying to solve it by myself for a while.
Because I want to taste the sense of accomplishment and bliss.

Hehehe!
今年、私はクリスマスとは無縁でした。

学校へ行き、仕事と研究をし、家に帰り、そしてプログラミングコンテストに参加しました。
そして悲しいことに、そのコンテストで惨敗しました。

コンテストの1問目は、A+Bの結果を要求するものでした。
これはとても単純で簡単に見えますが、加算/減算の演算子の使用は禁止されており、乗算/除算の演算子と"if"文のみの使用可能でした(比較演算子は含まれません)。
更に、コードは最大1000行で、利用可能な変数は26個でした。

私はこの問題を解くことに挑戦しましたが、4時間後、解けないままコンテストは終了してしまいました。
(結果的に、この問題を完答できたのは1人だけでした。)

最終的には、解答が公開されるでしょうが、私は暫くの間はそれを見ず、自分の力で解くことを試みてみようと思います。
なぜならば、達成感と至福な時間を味わいたいからです。

へへへ。
No. 1 Timmy
  • And misery as well, I was crushing defeat in the contest.
  • And the sad thing is that, I experienced crushing defeat in this contest.
  • I tried to solve this problem, and about 4 hour later, the contest finished while the problem is not solved.
  • I tried to solve this problem, and about 4 hour later, the contest finished while the problem was not solved.
  • (Accordingly, just one participant could solve it completely.)
  • (Accordingly (or: It turned out that), just one participant could solve it completely.)
  • Finally, the answer will be published, but I don't see it and keep trying to solve it by myself for a while.
  • Finally, the answer will be published, but I don't want to see it and keep trying to solve it (or: the problem) by myself for a while.

Good luck with solving this problem!

Toru
Thank you so much for your correction again!!! Good night!!(*'▽')
Timmy
You are welcome! Good night and Merry Christmas!
No. 2 Kris
  • This year, I have nothing to do with Xmas.
  • This year, I have nothing to do for Xmas.
  • I went to school, researched, worked, came back to home and participated a programming contest.
  • I went to school, researched, worked, came back to home and participated in a programming contest.
  • The first problem of the contest demanded the result of A+B.
  • This sentence is perfect! No correction needed!
  • It looks like really simple and easy, however, it was forbidden to use addition/subtraction operator, and we could use multiplication/division operator and "if" sentence only (comparison operators are not included).
  • It looks like really simple and easy; however, it was forbidden to use addition/subtraction operator, and we could use multiplication/division operator and "if" sentence only (comparison operators are not included).

    need a ; because otherwise sentence is a run-on sentence. (too many topics)

  • I tried to solve this problem, and about 4 hour later, the contest finished while the problem is not solved.
  • I tried to solve this problem, but, about 4 hours later, the contest finished and I had not solved the problem.

    The previous way you formatted implied that nobody could solve it.

  • Because I want to taste the sense of accomplishment and bliss.
  • I want to taste the sense of accomplishment and bliss of solving it myself.

    Because by itself makes your clause incomplete

  • Hehehe!
  • This sentence is perfect! No correction needed!
Toru
Thank you for your kind correction!! (^^)