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 listMar 24, 2025 12:47wainCGPwainCGPScore: 5,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2025 12:475,62540,903,80815,001,0003,000,0002,387,968
2Mar 24, 2025 13:445,63344,416,51316,022,0002,002,0002,277,376
3Mar 24, 2025 12:585,64339,823,53216,053,0002,006,0002,277,376
4Mar 24, 2025 12:585,64441,490,57416,055,0002,006,0002,277,376
5Mar 24, 2025 13:445,65039,892,36816,071,0002,008,0002,273,280
6Mar 24, 2025 12:585,65534,356,33115,081,0003,016,0002,273,280
7Mar 24, 2025 13:445,67041,806,63017,137,0001,008,0002,273,280
8Mar 24, 2025 12:475,67736,158,81515,138,0003,027,0002,273,280
9Mar 24, 2025 12:476,98943,532,44018,298,0004,066,0002,277,376