Sponsors

Tag: Codeforces Round #383 (Div. 2)

Codeforces Round #383 (Div....

#include<stdio.h> int n, m, maxW, p, w, b, prev, next,...

Codeforces Round #383 (Div....

#include<stdio.h> int v; int main(){ int i,l,n,x; long long int r; scanf("%d%d",&n,&x); for(i=0;i<n;i++) { scanf("%d",&l); r=r+v; v++; } printf("%I64d",r); return 0; }

Advertisement

spot_img