Search
 
SCRIPT & CODE EXAMPLE
 

CPP

The Rating Dilemma codechef solution in c++

#include<iostream>
#include<algorithm>
#include<vector>
#define ll long long
using namespace std;

void solve()
{
	ll n;
	cin >> n;
	ll to = n + 1;
	cout << to * -1 << "
";
}

int main()
{
	int t;
	cin >> t;
	while (t--)
	{
		solve();
	}
	return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: cpp how to add collisions to boxes 
Cpp :: apertura file in c++ 
Cpp :: const in c++ is same as globle in python 
Cpp :: how to code a game in c++ 
Cpp :: c++ stack 
Cpp :: c++ restrict template types 
Cpp :: . Shell sort in c++ 
Cpp :: c to assembly mips converter 
Cpp :: Types of Conversions- C++ 
Cpp :: Opengl GLFW basic window 
Cpp :: c++ constructor inheritance 
Cpp :: codeforces problem 1700A solution in c++ 
Cpp :: c++ program that put a space in between characters 
Cpp :: c++ vector allocator example 
Cpp :: Fill 2-dimensional array with value 
Cpp :: foo foo little dogs 
Cpp :: Catcoder mars rover solution in c++ 
Cpp :: Imports the elements in the array c++ 
Cpp :: C++ (.NET CLI) 
Cpp :: how to move your chrector in unity 
Cpp :: new lien c++ 
Cpp :: accepting multiple values from a function in cpp 
Cpp :: JAJA 
Cpp :: how to add 2 objects using operator overloading in c++ 
Cpp :: #defie in c++ 
Cpp :: c++ find with predicat 
Cpp :: printing sub arrays 
Cpp :: c++ code 2d block 
Cpp :: c++ format number thousands separator 
Cpp :: how to store array of string with spaces in c++ stl 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =