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 12, 2024 23:28джулисджулисScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:275,26742,259,17415,863,000991,0002,375,680
2Jun 12, 2024 23:285,26945,126,79715,870,000991,0002,293,760
3Jun 12, 2024 23:275,27145,799,83915,875,000992,0002,293,760
4Jun 12, 2024 23:275,27241,932,75715,879,000992,0002,375,680
5Jun 12, 2024 23:285,27344,531,28314,890,0001,985,0002,293,760
6Jun 12, 2024 23:285,27331,442,12814,890,0001,985,0002,293,760
7Jun 12, 2024 23:285,27334,033,53515,880,000992,0002,367,488
8Jun 12, 2024 23:275,27344,337,44214,888,0001,985,0002,363,392
9Jun 12, 2024 23:275,27433,816,71015,884,000992,0002,293,760
10Jun 12, 2024 23:285,27451,547,20114,893,0001,985,0002,367,488
11Jun 12, 2024 23:275,27442,249,85914,893,0001,985,0002,367,488
12Jun 12, 2024 23:285,27837,410,06515,898,000993,0002,293,760
13Jun 12, 2024 23:285,27941,602,58514,905,0001,987,0002,367,488
14Jun 12, 2024 23:275,28443,698,75615,914,000994,0002,371,584
15Jun 12, 2024 23:285,28646,445,15314,925,0001,990,0002,367,488
16Jun 12, 2024 23:285,28743,294,64714,928,0001,990,0002,367,488
17Jun 12, 2024 23:275,28835,909,48814,930,0001,990,0002,363,392
18Jun 12, 2024 23:275,29445,163,85914,949,0001,993,0002,293,760
19Jun 12, 2024 23:275,47281,740,31617,511,45402,240,512
20Jun 12, 2024 23:275,49585,917,65317,584,76802,248,704
21Jun 12, 2024 23:285,49790,607,39017,589,61602,240,512
22Jun 12, 2024 23:275,51284,979,82517,639,50602,375,680
23Jun 12, 2024 23:285,53177,570,14217,700,76002,244,608
24Jun 12, 2024 23:285,53692,218,36817,713,97602,244,608