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 19:14lukostlukostScore: 5,484Success
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 19:145,46644,001,38415,433,0002,057,0002,265,088
2Apr 24, 2025 19:145,47133,389,46716,478,0001,029,0002,273,280
3Apr 24, 2025 19:145,47840,551,98115,466,0002,062,0002,277,376
4Apr 24, 2025 19:145,48445,722,97617,549,00002,277,376
5Apr 24, 2025 19:145,48636,274,09316,524,0001,032,0002,277,376
6Apr 24, 2025 19:145,50139,532,10815,533,0002,071,0002,277,376