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:25lukostlukostScore: 4,964Success
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:254,94831,700,70915,833,00002,453,504
2Apr 26, 2025 20:254,95931,020,36713,886,0001,983,0002,539,520
3Apr 26, 2025 20:254,95934,143,41714,878,000991,0002,449,408
4Apr 26, 2025 20:254,96140,713,36213,891,0001,984,0002,539,520
5Apr 26, 2025 20:254,96441,716,77013,900,0001,985,0002,441,216
6Apr 26, 2025 20:254,96939,029,03714,840,0001,060,0002,539,520
7Apr 26, 2025 20:254,97231,889,53514,850,0001,060,0002,449,408
8Apr 26, 2025 20:254,97430,837,47814,857,0001,061,0002,539,520
9Apr 26, 2025 20:254,98337,134,73413,954,0001,993,0002,539,520