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 9, 2024 22:43zielajzielajScore: 4,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 22:434,28939,190,55312,670,0001,055,0002,445,312
2Aug 9, 2024 22:434,32638,801,62013,844,00002,273,280
3Aug 9, 2024 22:434,32726,954,83912,857,000989,0002,535,424
4Aug 9, 2024 22:434,33229,929,74511,882,0001,980,0002,273,280
5Aug 9, 2024 22:434,33630,659,22412,885,000991,0002,535,424
6Aug 9, 2024 22:434,33631,872,02611,894,0001,982,0002,535,424
7Aug 9, 2024 22:434,33730,755,63411,897,0001,982,0002,445,312
8Aug 9, 2024 22:434,33832,952,70511,898,0001,983,0002,449,408
9Aug 9, 2024 22:434,33931,990,75812,894,000991,0002,273,280
10Aug 9, 2024 22:434,56782,115,52714,615,75502,326,528
11Aug 9, 2024 22:434,570103,022,71214,624,46302,195,456
12Aug 9, 2024 22:434,59779,251,40814,709,77902,326,528