https://i2.wp.com/eblogarithm.com/wp-content/uploads/2017/07/Tinkoff-Challenge--Final-Round-Codeforces-Round-414-rated-Div-1--Div-2-problem-A-Bank-Robbery-Solution-in-CC1.png?fit=640%2C360

Tinkoff Challenge – Final Round (Codeforces Round #414, rated, Div. 1 + Div. 2), problem: (A) Bank Robbery Solution in C/C++

#include<cstdio>
int main()
{
int a,b,c,i,ans=0;
scanf(“%d%d%d”,&a,&b,&c);
for(scanf(“%d”,&i);i–;)scanf(“%d”,&a),a>b&&a<c?++ans:0;
printf(“%d”,ans);
}

(Visited 6 times, 1 visits today)



There are no comments

Add yours

Leave a Reply

%d bloggers like this: