Answers for "packaging cupcakes codechef solution in python"

1

packaging cupcakes codechef solution

#include <bits/stdc++.h>
using namespace std;

int main() 
{
    int t;
    cin>>t;
    
    int n;

    for(int i=0;i<t;i++)
    {
        cin>>n;
        cout<<n/2 +1<<endl;
    }
    return 0;
}
Posted by: Guest on April-13-2021

Code answers related to "packaging cupcakes codechef solution in python"

Browse Popular Code Answers by Language