Wrong Answer
Code
#include <bits/stdc++.h>
using namespace std;
#define ll long long
void solve() {
set <int> st;
for (int i = 0; i < 3; i++) {
int x; cin >> x;
st.insert(x);
}
cout << int(st.size()) - 1 << "\n";
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int tt = 1;
cin >> tt;
while (tt--) {
solve();
}
}
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 16:26:01
- Judged At
- 2024-11-11 03:24:12
- Judged By
- Score
- 10
- Total Time
- 6ms
- Peak Memory
- 580.0 KiB