mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 17:11:42 +03:00
79 lines
1.2 KiB
Plaintext
79 lines
1.2 KiB
Plaintext
|
/*
|
||
|
namespace: Compile
|
||
|
expectation: Pass
|
||
|
input_file:
|
||
|
- inputs/nonprinting.in
|
||
|
*/
|
||
|
function main(
|
||
|
in1: char,
|
||
|
in2: char,
|
||
|
in3: char,
|
||
|
in4: char,
|
||
|
in5: char,
|
||
|
in6: char,
|
||
|
in7: char,
|
||
|
in8: char,
|
||
|
in9: char,
|
||
|
in10: char,
|
||
|
in11: char,
|
||
|
in12: char,
|
||
|
in13: char,
|
||
|
in14: char,
|
||
|
in15: char,
|
||
|
in16: char,
|
||
|
in17: char,
|
||
|
in18: char,
|
||
|
in19: char,
|
||
|
in20: char,
|
||
|
in21: char,
|
||
|
in22: char,
|
||
|
in23: char,
|
||
|
in24: char,
|
||
|
in25: char,
|
||
|
in26: char,
|
||
|
in27: char,
|
||
|
in28: char,
|
||
|
in29: char,
|
||
|
in30: char,
|
||
|
in31: char,
|
||
|
in32: char,
|
||
|
in32: char,
|
||
|
) -> ([char; 33], bool) {
|
||
|
let str = [
|
||
|
in1,
|
||
|
in2,
|
||
|
in3,
|
||
|
in4,
|
||
|
in5,
|
||
|
in6,
|
||
|
in7,
|
||
|
in8,
|
||
|
in9,
|
||
|
in10,
|
||
|
in11,
|
||
|
in12,
|
||
|
in13,
|
||
|
in14,
|
||
|
in15,
|
||
|
in16,
|
||
|
in17,
|
||
|
in18,
|
||
|
in19,
|
||
|
in20,
|
||
|
in21,
|
||
|
in22,
|
||
|
in23,
|
||
|
in24,
|
||
|
in25,
|
||
|
in26,
|
||
|
in27,
|
||
|
in28,
|
||
|
in29,
|
||
|
in30,
|
||
|
in31,
|
||
|
in32,
|
||
|
in32,
|
||
|
];
|
||
|
console.log("{}", str);
|
||
|
return (str, in1 == '\x00');
|
||
|
}
|