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:49zielajzielajScore: 4,343Success
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:494,29129,917,58712,676,0001,056,0002,273,280
2Aug 9, 2024 22:494,29937,075,29812,698,0001,058,0002,535,424
3Aug 9, 2024 22:494,33633,435,11512,883,000991,0002,535,424
4Aug 9, 2024 22:494,34040,925,57411,904,0001,984,0002,445,312
5Aug 9, 2024 22:494,34228,766,74412,901,000992,0002,273,280
6Aug 9, 2024 22:494,34232,770,48711,910,0001,985,0002,273,280
7Aug 9, 2024 22:494,34339,512,59911,911,0001,985,0002,535,424
8Aug 9, 2024 22:494,34531,098,52811,918,0001,986,0002,535,424
9Aug 9, 2024 22:494,34730,997,61212,917,000993,0002,273,280
10Aug 9, 2024 22:494,58283,571,35914,663,55302,338,816
11Aug 9, 2024 22:494,59182,396,63814,689,88502,195,456
12Aug 9, 2024 22:494,61384,674,24614,762,46102,199,552