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 listMay 3, 2025 18:09lukostlukostScore: 4,445Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 18:094,42335,223,96812,131,0002,021,0002,441,216
2May 3, 2025 18:104,43031,001,59612,151,0002,025,0002,539,520
3May 3, 2025 18:104,43532,803,91712,165,0002,027,0002,531,328
4May 3, 2025 18:094,44528,919,65612,193,0002,032,0002,535,424
5May 3, 2025 18:104,44830,617,62812,201,0002,033,0002,539,520
6May 3, 2025 18:094,49338,206,64914,376,00002,445,312