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 listJun 16, 2023 19:29Ulyanov AlekseyUlyanov AlekseyScore: 5,896Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 19:295,83644,912,72218,675,00002,281,472
2Jun 16, 2023 19:295,85544,450,27817,696,0001,040,0002,273,280
3Jun 16, 2023 19:295,88549,782,67317,842,000991,0002,289,664
4Jun 16, 2023 19:295,88847,017,72916,860,0001,983,0002,265,088
5Jun 16, 2023 19:295,89344,832,64416,872,0001,984,0002,273,280
6Jun 16, 2023 19:295,89545,743,09316,878,0001,985,0002,289,664
7Jun 16, 2023 19:295,89647,771,07016,881,0001,986,0002,289,664
8Jun 16, 2023 19:295,90345,123,12917,895,000994,0002,289,664
9Jun 16, 2023 19:295,90844,211,00116,917,0001,990,0002,273,280
10Jun 16, 2023 19:296,07290,670,29719,431,94602,293,760
11Jun 16, 2023 19:296,08867,839,47519,480,31202,297,856
12Jun 16, 2023 19:296,10786,401,90419,543,74102,187,264