#3212. 数列求值
数列求值
Description
求 1−2+3−4...+n的值
Input Format
输入一个整数n
Output Format
输出一个整数
4
-2
求 1−2+3−4...+n的值
输入一个整数n
输出一个整数
4
-2
By signing up a 趣信奥 universal account, you can submit code and join discussions in all online judging services provided by us.