Sunday, 27 November 2016

11150 - Cola Uva Problem Solution.


Solution:

#include <bits/stdc++.h>
using namespace std;
/*
    *
    * Prosen Ghosh
    * American International University - Bangladesh (AIUB)
    *
*/
int main(){
    int n;
    while(cin >> n)cout << n+(n/2) << endl;
    return 0;
}

No comments:

Post a Comment