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 29, 2025 14:32Mark R BestMark R BestScore: 10,954Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 14:3210,79959,270,8288,131,00026,427,0002,289,664
2Dec 29, 2025 14:3210,82460,974,37710,187,00024,449,0002,297,856
3Dec 29, 2025 14:3210,84560,918,92112,248,00022,455,0002,310,144
4Dec 29, 2025 14:3210,90659,303,5908,974,00025,925,0002,285,568
5Dec 29, 2025 14:3210,95459,928,34414,021,00021,032,0002,289,664
6Dec 29, 2025 14:3210,97160,773,3946,018,00029,089,0002,289,664
7Dec 29, 2025 14:3211,12457,473,5607,119,00028,477,0002,314,240
8Dec 29, 2025 14:3211,14862,818,61211,212,00024,463,0002,289,664
9Dec 29, 2025 14:3211,34664,319,9066,051,00030,256,0002,285,568