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 listFeb 28, 2024 04:46Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:465,48477,113,34517,549,43202,301,952
2Feb 28, 2024 04:465,50570,459,45317,616,87002,301,952
3Feb 28, 2024 04:465,50787,668,13517,623,26302,293,760
4Feb 28, 2024 04:465,58633,298,01115,889,0001,986,0002,404,352
5Feb 28, 2024 04:465,58633,693,64415,890,0001,986,0002,519,040
6Feb 28, 2024 04:465,58642,207,60216,883,000993,0002,281,472
7Feb 28, 2024 04:465,58846,801,50116,888,000993,0002,281,472
8Feb 28, 2024 04:465,58948,315,90615,898,0001,987,0002,408,448
9Feb 28, 2024 04:465,59839,835,32516,861,0001,053,0002,281,472
10Feb 28, 2024 04:465,61739,941,51415,976,0001,997,0002,281,472
11Feb 28, 2024 04:465,61741,918,26315,977,0001,997,0002,404,352
12Feb 28, 2024 04:465,61842,067,56115,982,0001,997,0002,281,472