005
This commit is contained in:
parent
0f2787c4ec
commit
17c5f932f1
1 changed files with 2 additions and 2 deletions
|
@ -25,12 +25,12 @@ pub fn main() void {
|
||||||
// (Problem 1)
|
// (Problem 1)
|
||||||
// Please set this array concatenating the two arrays above.
|
// Please set this array concatenating the two arrays above.
|
||||||
// It should result in: 1 3 3 7
|
// It should result in: 1 3 3 7
|
||||||
const leet = ???;
|
const leet = le ++ et;
|
||||||
|
|
||||||
// (Problem 2)
|
// (Problem 2)
|
||||||
// Please set this array using repetition.
|
// Please set this array using repetition.
|
||||||
// It should result in: 1 0 0 1 1 0 0 1 1 0 0 1
|
// It should result in: 1 0 0 1 1 0 0 1 1 0 0 1
|
||||||
const bit_pattern = [_]u8{ ??? } ** 3;
|
const bit_pattern = [_]u8{ 1, 0, 0, 1 } ** 3;
|
||||||
|
|
||||||
// Okay, that's all of the problems. Let's see the results.
|
// Okay, that's all of the problems. Let's see the results.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue