143472025-01-10 16:59:19ExtremeCreator20Járdakövezés (75 pont)cpp17Wrong answer 26/751ms508 KiB
#include <iostream>
using namespace std;

int main() {
    int lap, c=0;
    cin >> lap;
    if(lap%3==0){
        cout << 0 << " " << lap/3;
        return 0;
    } else {
        cout << (lap%3)/2<< " " << lap-(lap%3)/3;
        return 0;
    }
}
SubtaskSumTestVerdictTimeMemory
base26/75
1Wrong answer0/01ms316 KiB
2Wrong answer0/01ms316 KiB
3Accepted3/31ms316 KiB
4Wrong answer0/31ms316 KiB
5Wrong answer0/31ms316 KiB
6Accepted3/31ms316 KiB
7Wrong answer0/31ms316 KiB
8Wrong answer0/41ms316 KiB
9Wrong answer0/41ms328 KiB
10Wrong answer0/41ms316 KiB
11Accepted4/41ms316 KiB
12Wrong answer0/41ms508 KiB
13Accepted4/41ms316 KiB
14Accepted4/41ms316 KiB
15Accepted4/41ms316 KiB
16Wrong answer0/41ms336 KiB
17Wrong answer0/41ms316 KiB
18Wrong answer0/41ms316 KiB
19Wrong answer0/41ms316 KiB
20Wrong answer0/41ms316 KiB
21Accepted4/41ms316 KiB
22Wrong answer0/41ms316 KiB