高速 FizzBuzz 挑战 - 你能以多快的速度输出 FizzBuzz?
https://codegolf.stackexchange.com/questions/215216/high-throughput-fizz-buzz/
就是你熟悉的那个 FizzBuzz,但是输出会被 pipe 到另一个程序里,然后被丢弃。输出速度越快越好。
目前的王者是汇编写的,57GiB/s。点进去能看到不同语言的投稿的速度。
https://codegolf.stackexchange.com/questions/215216/high-throughput-fizz-buzz/
就是你熟悉的那个 FizzBuzz,但是输出会被 pipe 到另一个程序里,然后被丢弃。输出速度越快越好。
目前的王者是汇编写的,57GiB/s。点进去能看到不同语言的投稿的速度。
Code Golf Stack Exchange
High throughput Fizz Buzz
Fizz Buzz is a common challenge given during interviews. The challenge goes something like this:
Write a program that prints the numbers from 1 to n. If a number is
divisible by 3, write Fizz inst...
Write a program that prints the numbers from 1 to n. If a number is
divisible by 3, write Fizz inst...
这个月怎么奥尔加二创井喷了,咱已经同时追了《奥尔加过家家》、《派对浪客奥尔加》和《无法被处刑的奥尔加》了
#rustjerk
trait Rope {
fn _____________<U>(_: Self, _: U) where Self: Sized {}
}
struct T;
impl Rope for T {}
fn tug_o_war(_: impl Fn(T, T)) {}
fn main() {
tug_o_war(<T>::_____________::<T>);
}
https://www.reddit.com/r/rustjerk/comments/twqkux/fish_fight/reddit
Fish Fight
trait Rope { fn _____________<U>(_: Self, _: U) where Self: Sized {} } struct T; impl Rope for T {} fn tug_o_war(_:...
Forwarded from 每日 AWESOME 观察
space-thumbnails
Windows 下 3D 模型文件没有缩略图,很难收纳管理。用 Rust 写了个 Shell 插件能够支持常用的 3D 模型格式的缩略图预览。
用 msi 打包,可以干净的安装卸载,欢迎有需求的下载使用
Windows 下 3D 模型文件没有缩略图,很难收纳管理。用 Rust 写了个 Shell 插件能够支持常用的 3D 模型格式的缩略图预览。
用 msi 打包,可以干净的安装卸载,欢迎有需求的下载使用
👍6
Forwarded from Hacker News
A single memory is stored across many connected brain regions (Score: 150+ in 11 hours)
Link: https://readhacker.news/s/5bW7r
Comments: https://readhacker.news/c/5bW7r
Link: https://readhacker.news/s/5bW7r
Comments: https://readhacker.news/c/5bW7r
MIT News
A single memory is stored across many connected brain regions
The mammalian brain stores a single memory across a widely distributed, functionally connected complex spanning many brain regions, rather than in just one or even a few places.