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 listDec 1, 2024 11:58matsuoka-601matsuoka-601Score: 4,405Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 1, 2024 11:584,39625,578,89712,058,0002,009,0002,531,328
2Dec 1, 2024 11:594,39933,723,86312,067,0002,011,0002,539,520
3Dec 1, 2024 11:594,40233,186,14112,073,0002,012,0002,445,312
4Dec 1, 2024 11:584,40533,622,93812,082,0002,013,0002,441,216
5Dec 1, 2024 11:594,40631,305,15312,084,0002,014,0002,445,312
6Dec 1, 2024 11:584,43129,735,21713,167,0001,012,0002,445,312