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 6, 2025 07:05Chandrasekaran AkashChandrasekaran AkashScore: 5,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 07:055,10134,009,06716,324,00002,441,216
2Apr 6, 2025 07:055,12748,648,67816,406,00002,445,312
3Apr 6, 2025 07:055,13336,686,78816,425,00002,527,232
4Apr 6, 2025 07:055,13337,653,49216,427,00002,527,232
5Apr 6, 2025 07:055,13640,131,29515,408,0001,027,0002,445,312
6Apr 6, 2025 07:055,14840,211,84316,473,00002,449,408
7Apr 6, 2025 07:055,16232,019,93216,517,00002,428,928
8Apr 6, 2025 07:055,17333,447,01113,450,0003,103,0002,437,120
9Apr 6, 2025 07:055,19129,361,40514,536,0002,076,0002,441,216