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:12Chandrasekaran AkashChandrasekaran AkashScore: 4,414Success
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:134,37839,139,23613,008,0001,000,0002,277,376
2Apr 6, 2025 17:134,38732,882,89313,037,0001,002,0002,506,752
3Apr 6, 2025 17:134,39633,014,15313,063,0001,004,0002,277,376
4Apr 6, 2025 17:134,41229,574,41813,109,0001,008,0002,277,376
5Apr 6, 2025 17:134,41430,854,98212,108,0002,018,0002,273,280
6Apr 6, 2025 17:134,41933,077,43313,130,0001,010,0002,277,376
7Apr 6, 2025 17:124,56635,178,90214,612,00002,506,752
8Apr 6, 2025 17:124,57531,851,06014,641,00002,277,376
9Apr 6, 2025 17:124,57529,905,09314,641,00002,506,752