You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
求 1−2+3−4+⋯+n1-2+3-4+ \dots +n1−2+3−4+⋯+n 的值
3
2
1≤n≤1001 \le n \le 1001≤n≤100
注册一个 CZOJ 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 CZOJ 通用账户