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 listDec 21, 2025 17:14ndrenndrenScore: 23,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:2223,170100,995,76439,076,00035,068,0002,486,272
2Oct 28, 2024 19:2223,245102,128,17245,233,00029,150,0002,289,664
3Oct 28, 2024 19:2223,274102,501,49952,336,00022,142,0002,277,376
4Dec 21, 2025 17:1423,323100,871,13552,445,00022,188,0002,281,472
5Dec 21, 2025 17:1423,46798,285,56144,056,00031,039,0002,490,368
6Dec 21, 2025 17:1423,620101,570,77943,334,00032,249,0002,281,472