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 26 times, 1 visits today)

About the Author:

Leave A Comment