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 26, 2025 20:33lukostlukostScore: 4,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:334,95933,195,04513,886,0001,983,0002,539,520
2Apr 26, 2025 20:334,96041,073,36413,889,0001,984,0002,437,120
3Apr 26, 2025 20:334,96137,114,35213,891,0001,984,0002,539,520
4Apr 26, 2025 20:334,96131,813,02713,891,0001,984,0002,539,520
5Apr 26, 2025 20:334,96140,939,07713,892,0001,984,0002,539,520
6Apr 26, 2025 20:334,96240,844,33213,893,0001,984,0002,449,408
7Apr 26, 2025 20:334,96436,380,90513,901,0001,985,0002,445,312
8Apr 26, 2025 20:334,97438,723,27313,927,0001,989,0002,539,520
9Apr 26, 2025 20:334,97437,567,18513,928,0001,989,0002,539,520