From 0b17724621b0b7adfa44a38a524aad8dccab7c69 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Fri, 5 Aug 2016 11:59:16 +0800 Subject: [PATCH] Create 1307_chronix.cpp --- VIJOS/1307_chronix.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 VIJOS/1307_chronix.cpp diff --git a/VIJOS/1307_chronix.cpp b/VIJOS/1307_chronix.cpp new file mode 100644 index 0000000..4ceebbd --- /dev/null +++ b/VIJOS/1307_chronix.cpp @@ -0,0 +1,10 @@ +#include + +int main(){ + long long re,n; + std::cin>>n; + re=n*(n+1)*(2*n+1); + re/=6; + std::cout<