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 25, 2024 12:37matsuoka-601matsuoka-601Score: 5,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2024 12:374,96045,990,61913,889,0001,984,0002,285,568
2Jan 25, 2024 12:374,96748,060,27814,901,000993,0002,269,184
3Jan 25, 2024 12:374,97034,761,06214,910,000994,0002,527,232
4Jan 25, 2024 12:374,97039,871,66214,845,0001,060,0002,383,872
5Jan 25, 2024 12:374,98342,649,51213,954,0001,993,0002,285,568
6Jan 25, 2024 12:375,00350,088,40714,007,0002,001,0002,285,568
7Jan 25, 2024 12:375,01342,385,91514,036,0002,005,0002,285,568
8Jan 25, 2024 12:375,01948,814,68314,054,0002,007,0002,285,568
9Jan 25, 2024 12:375,02345,697,98115,070,0001,004,0002,285,568
10Jan 25, 2024 12:375,196100,620,82916,628,19002,289,664
11Jan 25, 2024 12:375,20259,882,95916,647,89302,297,856
12Jan 25, 2024 12:375,21887,981,84716,698,48802,301,952