
Focusing
-
Institute of Computing Technology, CAS
- Beijing, China
-
04:24
- 8h ahead - https://github.com/ggssh
Highlights
Pinned Loading
-
Monkey Sort
Monkey Sort 1fn monkey_sort<T: Ord>(arr: &mut [T]) {
2while !is_sorted(arr) {
3arr.shuffle(&mut rand::thread_rng());
4}
5}
-
Sleep Sort
Sleep Sort 1fn sleep_sort(arr: &mut [u64]) {
2let (s, r) = std::sync::mpsc::channel();
3for &n in arr {
4let s = s.clone();
5std::thread::spawn(move || {
102 contributions in the last year
Day of Week | April Apr | May May | June Jun | July Jul | August Aug | September Sep | October Oct | November Nov | December Dec | January Jan | February Feb | March Mar | April Apr | ||||||||||||||||||||||||||||||||||||||||
Sunday Sun | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Monday Mon | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Tuesday Tue | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Wednesday Wed | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Thursday Thu | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Friday Fri | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturday Sat |
Less
No contributions.
Low contributions.
Medium-low contributions.
Medium-high contributions.
High contributions.
More
Activity overview
Loading