Wrong Answer
Code
#include<bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false); cin.tie(nullptr);
int t; cin >> t;
while(t--){
int a, b, c; cin >> a >> b >> c;
if(a == b and b == c) cout << 0 << '\n';
else if(a == b or a == c) cout << 1 << '\n';
else cout << 2 << '\n';
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1061 Bring equality
- Contest
- Brain Booster #4
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-07-14 15:44:25
- Judged At
- 2024-11-11 03:25:31
- Judged By
- Score
- 10
- Total Time
- 4ms
- Peak Memory
- 532.0 KiB