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 23, 2024 17:10zielajzielajScore: 4,171Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2024 17:104,11330,751,42712,150,0001,012,0002,490,368
2Aug 23, 2024 17:104,14230,868,28813,255,00002,494,464
3Aug 23, 2024 17:104,14428,287,17813,261,00002,531,328
4Aug 23, 2024 17:104,15136,184,07413,283,00002,494,464
5Aug 23, 2024 17:104,15336,926,84113,288,00002,494,464
6Aug 23, 2024 17:104,15934,883,62513,310,00002,494,464
7Aug 23, 2024 17:104,17129,321,71113,346,00002,494,464
8Aug 23, 2024 17:104,17132,766,27913,348,00002,531,328
9Aug 23, 2024 17:104,18839,628,12513,400,00002,498,560
10Aug 23, 2024 17:104,41755,791,30914,134,76602,232,320
11Aug 23, 2024 17:104,43371,313,62514,184,06002,244,608
12Aug 23, 2024 17:104,47585,909,50514,320,38202,363,392