194602025-12-09 18:48:08VizsimiDíjazáspython3Wrong answer 0/100131ms3944 KiB
euro = int(input())
money = [euro-3, 2, 1]
while money[0] > money[1]:
  print(money[0], money[1], money[2])
  if money[1] - 1 != money[2] + 1 and money[1] != money[2] + 1:
    money[1] -= 1
    money[2] += 1
  else:
    money[0] -= 1
    money[1] = euro - money[0] - 1
    money[2] = 1
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer16ms3064 KiB
2Wrong answer26ms3340 KiB
subtask20/10
3Accepted16ms2868 KiB
4Accepted16ms2888 KiB
5Accepted16ms2860 KiB
6Wrong answer16ms2868 KiB
7Accepted17ms3036 KiB
subtask30/10
8Wrong answer16ms2868 KiB
9Wrong answer17ms3004 KiB
10Wrong answer17ms3124 KiB
11Wrong answer17ms3320 KiB
12Wrong answer16ms3040 KiB
subtask40/20
13Wrong answer16ms3116 KiB
14Wrong answer16ms3124 KiB
15Wrong answer16ms2968 KiB
16Wrong answer17ms3124 KiB
17Wrong answer17ms3116 KiB
18Wrong answer17ms3312 KiB
19Wrong answer17ms3116 KiB
20Wrong answer16ms3124 KiB
21Wrong answer17ms3124 KiB
22Wrong answer17ms3124 KiB
subtask50/20
23Wrong answer20ms3220 KiB
24Wrong answer20ms3200 KiB
25Wrong answer28ms3340 KiB
26Wrong answer29ms3380 KiB
27Wrong answer43ms3220 KiB
28Wrong answer21ms3260 KiB
29Wrong answer28ms3240 KiB
30Wrong answer37ms3316 KiB
31Wrong answer29ms3396 KiB
32Wrong answer21ms3256 KiB
subtask60/40
33Wrong answer57ms3460 KiB
34Wrong answer74ms3632 KiB
35Wrong answer90ms3712 KiB
36Wrong answer128ms3892 KiB
37Wrong answer86ms3636 KiB
38Wrong answer57ms3396 KiB
39Wrong answer74ms3636 KiB
40Wrong answer92ms3632 KiB
41Wrong answer131ms3832 KiB
42Wrong answer111ms3636 KiB
43Wrong answer65ms3380 KiB
44Wrong answer85ms3640 KiB
45Wrong answer108ms3696 KiB
46Wrong answer112ms3636 KiB
47Wrong answer50ms3376 KiB
48Wrong answer67ms3408 KiB
49Wrong answer86ms3680 KiB
50Wrong answer107ms3756 KiB
51Wrong answer131ms3852 KiB
52Wrong answer128ms3944 KiB