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 listJan 15, 2024 14:32matsuoka-601matsuoka-601Score: 5,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:325,46735,539,27016,464,0001,029,0002,289,664
2Jan 15, 2024 14:325,46837,801,97816,467,0001,029,0002,289,664
3Jan 15, 2024 14:325,47133,296,05117,507,00002,289,664
4Jan 15, 2024 14:325,48244,493,94416,510,0001,031,0002,269,184
5Jan 15, 2024 14:325,49340,012,68216,544,0001,034,0002,289,664
6Jan 15, 2024 14:325,49943,856,31716,561,0001,035,0002,289,664
7Jan 15, 2024 14:325,50448,535,28716,577,0001,036,0002,289,664
8Jan 15, 2024 14:325,52832,742,99116,648,0001,040,0002,351,104
9Jan 15, 2024 14:325,58445,740,53915,883,0001,985,0002,289,664
10Jan 15, 2024 14:325,64490,442,19018,062,02902,297,856
11Jan 15, 2024 14:325,67583,567,56018,160,01302,301,952
12Jan 15, 2024 14:325,68780,412,67718,199,36202,256,896