试做uva一题

Written by mc on October 16, 2007 Categories: 小心有电, 扯淡

花了很长时间才了解到他们换了个服务器,之后顺利注册,又研究了半天提交系统。

而后就开始读题3n+1 problem,写代码,查资料等等。

结果提交n次不是wrong answer就是runtime error。

最后发现如果编译器使用c++,需要在末尾返回return 0;其他的都会出现runtime error。

解决后拿到了第一个accepted,一看cpu时间和牛人们差了将近800倍,第一名那个俄罗斯鬼子太恐怖了cpu时间居然是0.0000就是<0.0002的意思。 嘎嘎 太邪恶了

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>