Wrong Answer
Code
#include <iostream>
#include <bits/stdc++.h>
/*#define int long long int*/
using namespace std;
int main()
{
int t,a,b,c,k,i;
cin >> t;
while(t--)
{
cin >> a >> b >> c;
if(a==b && b==c && a==c)
{
cout << 0 << endl;
}
else if(a==b && a!=c && b!=c)
{
cout << 1 << endl;
}
else
{
cout << 2 << endl;
}
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1061 Bring equality
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-11-05 15:02:34
- Judged At
- 2024-11-05 15:02:34
- Judged By
- Score
- 10
- Total Time
- 27ms
- Peak Memory
- 548.0 KiB