Комментарии
На MikeMirzayanov → Codeforces: .NET 9 = C# 13 + F# 9, 17 месяцев назад
0

F# lessgooooo

На AB22 → Clean Rust Library for Competitive Programming, 17 месяцев назад
0

also you would need itertools ;)

На AB22 → Clean Rust Library for Competitive Programming, 17 месяцев назад
-8

Yes if you are "new" to rust then it's not practical because obviously you will be fighting with the language instead of solving question. But once you get the nittigrities of rust ( and functional programming ) then it will become the language you wanna do cp in.

На AB22 → Clean Rust Library for Competitive Programming, 17 месяцев назад
0

Definition explanation:

n: usize              // Single number 
arr: [i32]            // "1 2 3 4" → vec![1,2,3,4]
bin: [01]             // 01100011 -> vec![0,1,1,0,0,0,1,1]
fixed: [i32; 3]       // "1 2 3" → [1,2,3]
lines: [i32]; n       // n lines, each with one number
grid: [[i32]; n]      // n lines: "1 2", "3 4 5", "6" ... 
word: [char]          // "hello" → vec!['h','e','l','l','o']
matrix: [[i32; 3]; 3] // 3 (or n) lines, exactly 3 numbers each

Base type can be anything that implements FromStr

На AB22 → Clean Rust Library for Competitive Programming, 17 месяцев назад
0

Update:

tiny change from [[type]]; n -> [[type]; n] for grids

is github opening?, you can try to go to github

the github link?

old image btw

bruh

?

На Vladosiya → Codeforces Command Lines (2023-10-06), 2 года назад
0

Can you please add F#?