137732025-01-08 17:51:44HorváthKendeJárdakövezés (75 pont)cpp17Wrong answer 0/751ms512 KiB
#include <iostream>

using namespace std;

int main()
{
    int a;
    cin>>a;
    if (a%3==0) {
        cout<<'0'<<a/3;
    } else if (a%3==1) {
        cout<<'2'<<a/3-1;
    } else {
        cout<<'1'<<a/3;
    }
}
SubtaskSumTestVerdictTimeMemory
base0/75
1Wrong answer0/01ms512 KiB
2Wrong answer0/01ms508 KiB
3Wrong answer0/31ms316 KiB
4Wrong answer0/31ms316 KiB
5Wrong answer0/31ms316 KiB
6Wrong answer0/31ms384 KiB
7Wrong answer0/31ms316 KiB
8Wrong answer0/41ms316 KiB
9Wrong answer0/41ms316 KiB
10Wrong answer0/41ms316 KiB
11Wrong answer0/41ms316 KiB
12Wrong answer0/41ms316 KiB
13Wrong answer0/41ms316 KiB
14Wrong answer0/41ms316 KiB
15Wrong answer0/41ms316 KiB
16Wrong answer0/41ms316 KiB
17Wrong answer0/41ms316 KiB
18Wrong answer0/41ms316 KiB
19Wrong answer0/41ms316 KiB
20Wrong answer0/41ms352 KiB
21Wrong answer0/41ms316 KiB
22Wrong answer0/41ms316 KiB