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 15, 2024 15:09vahookvahookScore: 4,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2024 15:094,51229,654,80513,406,0001,031,0002,281,472
2Aug 15, 2024 15:094,51230,976,19713,406,0001,031,0002,400,256
3Aug 15, 2024 15:094,51635,673,55813,420,0001,032,0002,400,256
4Aug 15, 2024 15:094,52536,245,53513,446,0001,034,0002,404,352
5Aug 15, 2024 15:094,53335,652,71013,468,0001,036,0002,281,472
6Aug 15, 2024 15:094,53531,075,77113,476,0001,036,0002,281,472
7Aug 15, 2024 15:094,53934,020,52414,524,00002,400,256
8Aug 15, 2024 15:094,54239,755,15714,533,00002,400,256
9Aug 15, 2024 15:094,55134,149,98313,522,0001,040,0002,404,352
10Aug 15, 2024 15:094,75498,519,13015,213,90602,293,760
11Aug 15, 2024 15:094,76766,863,20715,253,66202,301,952
12Aug 15, 2024 15:094,81077,795,12215,392,91102,301,952