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 3, 2024 19:49zielajzielajScore: 4,788Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:494,76132,344,35213,203,0002,031,0002,269,184
2Aug 3, 2024 19:494,76832,802,20413,223,0002,034,0002,277,376
3Aug 3, 2024 19:494,77033,077,23914,246,0001,017,0002,277,376
4Aug 3, 2024 19:494,77032,647,65812,212,0003,053,0002,277,376
5Aug 3, 2024 19:494,77341,466,41613,236,0002,036,0002,277,376
6Aug 3, 2024 19:494,78032,229,35513,258,0002,039,0002,277,376
7Aug 3, 2024 19:494,78837,999,37213,278,0002,042,0002,277,376
8Aug 3, 2024 19:494,79932,030,86113,309,0002,047,0002,277,376
9Aug 3, 2024 19:494,80542,650,97713,327,0002,050,0002,269,184
10Aug 3, 2024 19:495,03276,136,26916,102,29502,183,168
11Aug 3, 2024 19:495,06970,113,99616,219,52102,301,952
12Aug 3, 2024 19:495,09288,953,00716,293,59702,297,856