Accepted
Code
#include <bits/stdc++.h>
#define ll long long
#define F first
#define S second
#define endl '\n'
#define Endl '\n'
using namespace std;
const int N = 2e5 + 5;
int tc, n, m, a[N];
int solve(int x) {
return 120 - x;
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0); // cout.tie(0);
int x, y, z;
cin >> x >> y >> z;
cout << solve(x) << " " << solve(y) << " " << solve(z) << endl;
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1130 Angle Equalizer
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-01-02 12:02:34
- Judged At
- 2025-01-02 12:02:34
- Judged By
- Score
- 100
- Total Time
- 2ms
- Peak Memory
- 532.0 KiB