Wrong Answer
Code
#include <bits/stdc++.h>
#include <algorithm>
using namespace std;
//SAYED AL MAMUN_LU
void slv()
{
int a,b,c;
cin>>a>>b>>c;
int min_Value = min({a,b,c});
int operation=0;
if(a > min_Value)
{
operation++;
}
if(b > min_Value)
{
operation++;
}
if(c > min_Value)
{
operation++;
}
cout<<operation<<endl;
}
int main()
{
int t;
cin>>t;
while(t--)
{
slv();
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1061 Bring equality
- Contest
- Brain Booster #4
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-07-14 17:43:31
- Judged At
- 2024-11-11 03:22:43
- Judged By
- Score
- 10
- Total Time
- 30ms
- Peak Memory
- 556.0 KiB