1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AtCoderに挑戦

Posted at

AtCoder

Atcodeのリンク
AtCoderとはプログラミングコンテストらしいのですが、
そこで
A - はじめてのあっとこーだー(Welcome to AtCoder)
をやってみました。

結果

なんというか、ガチになるとダメですね。メモリー節約!!!!!!とか必要以上に意識するのは通常する必要の無いことですのでそこまで気にしなくともいいでしょう。
ですが、とても言語仕様に詳しくなれそうです。そして問題を解くのは楽しいですね。
意外と知らない事便利な技を学べたりするのでちょうどいいかとは思います。
それと、プログラムの入力をどのようにして受け取りのかが少しややこしいですが、慣れで解決するでしょう。

因みに、練習問題の私のコードはこうなりました。

print "%d %s" % (input() + sum(map(int, raw_input().split())), raw_input())
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?