han's UVA

阿翰

2014年5月22日 星期四

[UVA] 11150 - Cola

/*20140522 hanting*/
#include <iostream>
using namespace std;
int main()
{
    int N;
    while(cin>>N)
    {
        cout<<N+N/2<<endl;
    }
    return 0;
}
張貼者: uva解題紀錄 於 清晨7:34
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

總網頁瀏覽量

關於我自己

uva解題紀錄
檢視我的完整簡介

網誌存檔

  • ►  2020 (1)
    • ►  1月 (1)
  • ►  2019 (1)
    • ►  12月 (1)
  • ►  2017 (2)
    • ►  7月 (2)
  • ►  2016 (16)
    • ►  12月 (4)
    • ►  10月 (5)
    • ►  7月 (2)
    • ►  5月 (3)
    • ►  4月 (1)
    • ►  3月 (1)
  • ►  2015 (89)
    • ►  12月 (6)
    • ►  11月 (6)
    • ►  10月 (7)
    • ►  9月 (13)
    • ►  8月 (19)
    • ►  7月 (11)
    • ►  5月 (4)
    • ►  4月 (1)
    • ►  3月 (4)
    • ►  2月 (15)
    • ►  1月 (3)
  • ▼  2014 (53)
    • ►  11月 (5)
    • ►  10月 (1)
    • ►  9月 (2)
    • ►  8月 (5)
    • ►  7月 (9)
    • ►  6月 (1)
    • ▼  5月 (5)
      • [UVA] 562 - Dividing coins
      • [UVA] 11150 - Cola
      • [UVA] 10252 - Common Permutation
      • [UVA] 10050 - Hartals
      • [UVA] 12241 - Digits Count
    • ►  4月 (3)
    • ►  3月 (8)
    • ►  2月 (3)
    • ►  1月 (11)
  • ►  2013 (21)
    • ►  12月 (3)
    • ►  11月 (7)
    • ►  10月 (9)
    • ►  9月 (2)
頂尖企業主題. 技術提供:Blogger.