137822025-01-08 18:01:02reveszbercelJárdakövezés (75 pont)cpp17Wrong answer 26/751ms556 KiB
#include <iostream>
using namespace std;

int main() {
    int n;
    cin >> n;

    if (n%3==0){
        cout << 0 << " " << n/3;
    }
    else if (n%3==1){
        cout << " " << 2 << n/3-1;
    }
    else if (n%3==2){
        cout << " " << 1 << n/3;
    }
}
SubtaskSumTestVerdictTimeMemory
base26/75
1Wrong answer0/01ms500 KiB
2Wrong answer0/01ms508 KiB
3Accepted3/31ms316 KiB
4Wrong answer0/31ms316 KiB
5Wrong answer0/31ms316 KiB
6Accepted3/31ms316 KiB
7Wrong answer0/31ms368 KiB
8Wrong answer0/41ms316 KiB
9Wrong answer0/41ms316 KiB
10Wrong answer0/41ms348 KiB
11Accepted4/41ms316 KiB
12Wrong answer0/41ms316 KiB
13Accepted4/41ms316 KiB
14Accepted4/41ms316 KiB
15Accepted4/41ms500 KiB
16Wrong answer0/41ms316 KiB
17Wrong answer0/41ms316 KiB
18Wrong answer0/41ms316 KiB
19Wrong answer0/41ms316 KiB
20Wrong answer0/41ms316 KiB
21Accepted4/41ms508 KiB
22Wrong answer0/41ms556 KiB