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 listAug 11, 2024 02:04Yuriy LyfenkoYuriy LyfenkoScore: 4,500Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 02:044,475533,004,60314,321,00002,527,232
2Aug 11, 2024 02:044,487534,640,80114,359,00002,523,136
3Aug 11, 2024 02:044,489535,678,36114,366,00002,527,232
4Aug 11, 2024 02:044,497539,646,62714,389,00002,523,136
5Aug 11, 2024 02:044,497539,373,60913,283,0001,106,0002,523,136
6Aug 11, 2024 02:044,499535,291,96814,397,00002,265,088
7Aug 11, 2024 02:044,500535,089,10314,401,00002,453,504
8Aug 11, 2024 02:044,522536,176,37613,358,0001,113,0002,523,136
9Aug 11, 2024 02:044,527537,796,80814,486,00002,527,232
10Aug 11, 2024 02:044,700592,906,98915,040,38902,203,648
11Aug 11, 2024 02:044,709580,718,50415,067,70002,199,552
12Aug 11, 2024 02:044,791572,804,83715,331,56802,330,624