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 30, 2024 12:51BenBenScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 12:514,59433,078,91514,700,00002,269,184
2Jul 30, 2024 12:514,60132,221,48814,722,00002,375,680
3Jul 30, 2024 12:514,60231,044,25014,726,00002,465,792
4Jul 30, 2024 12:514,60440,968,18913,682,0001,052,0002,265,088
5Jul 30, 2024 12:514,64330,445,12812,877,0001,981,0002,523,136
6Jul 30, 2024 12:514,64936,655,89414,878,00002,265,088
7Jul 30, 2024 12:514,64939,394,08912,895,0001,983,0002,265,088
8Jul 30, 2024 12:514,65045,988,10813,889,000992,0002,367,488
9Jul 30, 2024 12:514,66233,187,39012,930,0001,989,0002,265,088
10Jul 30, 2024 12:514,84659,279,65215,508,25802,273,280
11Jul 30, 2024 12:514,90775,064,91915,701,18702,277,376
12Jul 30, 2024 12:514,91880,786,24615,736,68902,273,280