Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

H.W 5-Solution

Language: Layout:
+ ] Show input
Absolute running time: 0.4 sec, cpu time: 0.15 sec, memory peak: 6 Mb, absolute service time: 0,41 sec 
edit mode |  history  | discussion
Hello, world!
[105, 100, 5, 89, 8, 23, 1]
Passnumber:  6
Possible values for i: 6
6 --> [105, 100, 5, 89, 8, 1, 23]

Possible values for i: 5
5 --> [105, 100, 5, 89, 1, 8, 23]

Possible values for i: 4
4 --> [105, 100, 5, 1, 89, 8, 23]

Possible values for i: 3
3 --> [105, 100, 1, 5, 89, 8, 23]

Possible values for i: 2
2 --> [105, 1, 100, 5, 89, 8, 23]

Possible values for i: 1
1 --> [1, 105, 100, 5, 89, 8, 23]

------------------------------------------------
Passnumber:  5
Possible values for i: 6

Possible values for i: 5
5 --> [1, 105, 100, 5, 8, 89, 23]

Possible values for i: 4

Possible values for i: 3
3 --> [1, 105, 5, 100, 8, 89, 23]

Possible values for i: 2
2 --> [1, 5, 105, 100, 8, 89, 23]

Possible values for i: 1

------------------------------------------------
Passnumber:  4
Possible values for i: 6
6 --> [1, 5, 105, 100, 8, 23, 89]

Possible values for i: 5

Possible values for i: 4
4 --> [1, 5, 105, 8, 100, 23, 89]

Possible values for i: 3
3 --> [1, 5, 8, 105, 100, 23, 89]

Possible values for i: 2

Possible values for i: 1

------------------------------------------------
Passnumber:  3
Possible values for i: 6

Possible values for i: 5
5 --> [1, 5, 8, 105, 23, 100, 89]

Possible values for i: 4
4 --> [1, 5, 8, 23, 105, 100, 89]

Possible values for i: 3

Possible values for i: 2

Possible values for i: 1

------------------------------------------------
Passnumber:  2
Possible values for i: 6
6 --> [1, 5, 8, 23, 105, 89, 100]

Possible values for i: 5
5 --> [1, 5, 8, 23, 89, 105, 100]

Possible values for i: 4

Possible values for i: 3

Possible values for i: 2

Possible values for i: 1

------------------------------------------------
Passnumber:  1
Possible values for i: 6
6 --> [1, 5, 8, 23, 89, 100, 105]

Possible values for i: 5

Possible values for i: 4

Possible values for i: 3

Possible values for i: 2

Possible values for i: 1

------------------------------------------------
[1, 5, 8, 23, 89, 100, 105]