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 listJul 23, 2022 04:11Robert BurkeRobert BurkeScore: 4,625Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 04:114,56829,945,73713,574,0001,044,0002,453,504
2Jul 23, 2022 04:114,57533,602,14713,595,0001,045,0002,453,504
3Jul 23, 2022 04:114,58831,055,53013,632,0001,048,0002,277,376
4Jul 23, 2022 04:114,58843,623,00513,634,0001,048,0002,453,504
5Jul 23, 2022 04:114,60035,737,46513,669,0001,051,0002,281,472
6Jul 23, 2022 04:114,60228,217,04813,675,0001,051,0002,281,472
7Jul 23, 2022 04:114,62531,934,34013,814,000986,0002,449,408
8Jul 23, 2022 04:114,63931,817,13112,867,0001,979,0002,281,472
9Jul 23, 2022 04:114,65634,869,19112,912,0001,986,0002,445,312
10Jul 23, 2022 04:114,83082,436,96915,456,08702,207,744
11Jul 23, 2022 04:114,83673,166,37215,476,08402,203,648
12Jul 23, 2022 04:114,85679,536,19815,537,72802,203,648