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 listJun 27, 2025 10:58Elijah KinElijah KinScore: 3,009,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2025 10:583,007,6669,652,476,1959,591,544,00032,988,0002,285,568
2Jun 27, 2025 10:583,009,7009,662,390,9189,589,057,00041,982,0002,285,568
3Jun 27, 2025 10:583,015,7599,685,878,0529,621,443,00028,986,0002,277,376