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:10lukostlukostError
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:1000000Error: expected "976851 ", got "976850 "
2Apr 24, 2025 19:1000000Error: expected "975937 ", got "975936 "
3Apr 24, 2025 19:106,38340,301,28818,385,0002,042,0002,281,472
4Apr 24, 2025 19:106,38638,250,28719,414,0001,021,0002,277,376
5Apr 24, 2025 19:106,41746,179,37018,480,0002,053,0002,277,376