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 6, 2025 17:07Chandrasekaran AkashChandrasekaran AkashScore: 4,418Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 17:064,36234,840,60612,962,000997,0002,506,752
2Apr 6, 2025 17:064,37733,708,30813,006,0001,000,0002,498,560
3Apr 6, 2025 17:064,39531,694,36613,060,0001,004,0002,502,656
4Apr 6, 2025 17:084,41531,497,04113,119,0001,009,0002,502,656
5Apr 6, 2025 17:084,41833,599,22413,127,0001,009,0002,277,376
6Apr 6, 2025 17:084,42832,401,50614,171,00002,277,376
7Apr 6, 2025 17:074,47435,633,67014,318,00002,502,656
8Apr 6, 2025 17:074,47628,684,31914,324,00002,535,424
9Apr 6, 2025 17:074,49734,935,30314,389,00002,502,656