/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 2ms 532.0 KiB
#2 Accepted 2ms 532.0 KiB
#3 Accepted 2ms 532.0 KiB
#4 Accepted 3ms 532.0 KiB
#5 Accepted 3ms 324.0 KiB
#6 Accepted 3ms 532.0 KiB
#7 Accepted 3ms 532.0 KiB
#8 Accepted 3ms 532.0 KiB
#9 Accepted 3ms 532.0 KiB
#10 Accepted 3ms 532.0 KiB
#11 Accepted 4ms 532.0 KiB
#12 Accepted 4ms 532.0 KiB
#13 Accepted 4ms 532.0 KiB

Code

#include <iostream>
using namespace std;

void cA(int x, int y, int z) {
    int t = 120;
    int a = t - x;
    int b = t - y;
    int c = t - z;
    cout << a << " " << b << " " << c << endl;
}

int main() {
    int x, y, z;
    cin >> x >> y >> z;
    cA(x, y, z);
    return 0;
}

Information

Submit By
Type
Submission
Problem
P1130 Angle Equalizer
Contest
Happy New Year 2025
Language
C++17 (G++ 13.2.0)
Submit At
2025-01-02 14:53:45
Judged At
2025-01-02 14:53:45
Judged By
Score
100
Total Time
4ms
Peak Memory
532.0 KiB