Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listNov 10, 2024 06:38Viktor SuprunViktor SuprunScore: 100,818Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 06:38100,586345,712,252213,918,000107,958,0002,445,312
2Nov 10, 2024 06:38100,658347,703,122214,071,000108,035,0002,301,952
3Nov 10, 2024 06:38100,764348,609,275214,630,000107,814,0002,269,184
4Nov 10, 2024 06:38100,765349,972,984215,630,000106,817,0002,453,504
5Nov 10, 2024 06:38100,818347,262,640215,743,000106,873,0002,506,752
6Nov 10, 2024 06:38100,819344,585,477216,745,000105,875,0002,334,720
7Nov 10, 2024 06:38100,861346,086,006215,836,000106,919,0002,457,600
8Nov 10, 2024 06:38101,120351,964,307215,722,000107,861,0002,445,312
9Nov 10, 2024 06:38101,599351,637,338217,079,000108,039,0002,330,624