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 14, 2024 14:15zielajzielajScore: 4,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2024 14:154,26933,793,82312,610,0001,050,0002,437,120
2Aug 14, 2024 14:154,27133,186,48712,616,0001,051,0002,273,280
3Aug 14, 2024 14:154,27536,924,90012,627,0001,052,0002,273,280
4Aug 14, 2024 14:154,27931,735,04512,641,0001,053,0002,535,424
5Aug 14, 2024 14:154,28434,120,57912,655,0001,054,0002,449,408
6Aug 14, 2024 14:154,28533,423,94012,657,0001,054,0002,449,408
7Aug 14, 2024 14:154,28831,957,86912,668,0001,055,0002,449,408
8Aug 14, 2024 14:154,29134,636,33312,676,0001,056,0002,535,424
9Aug 14, 2024 14:154,34032,049,35411,905,0001,984,0002,535,424
10Aug 14, 2024 14:154,54692,406,66314,547,49102,199,552
11Aug 14, 2024 14:154,58766,468,91214,676,96002,199,552
12Aug 14, 2024 14:154,59676,066,85714,706,83902,199,552