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 listApr 24, 2025 21:02vahookvahookScore: 4,166Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 21:024,10325,844,73012,121,0001,010,0002,273,280
2Apr 24, 2025 21:024,11530,702,91012,155,0001,012,0002,506,752
3Apr 24, 2025 21:024,11837,577,05212,164,0001,013,0002,498,560
4Apr 24, 2025 21:024,14236,191,20213,254,00002,502,656
5Apr 24, 2025 21:024,16624,720,12713,330,00002,494,464
6Apr 24, 2025 21:024,17032,600,13413,343,00002,498,560
7Apr 24, 2025 21:024,18229,144,32913,382,00002,498,560
8Apr 24, 2025 21:024,19630,588,56413,428,00002,502,656
9Apr 24, 2025 21:024,19830,559,93013,435,00002,494,464