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 listMay 27, 2021 17:56Yurkov AlekseyYurkov AlekseyScore: 5,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:565,59640,952,62015,917,0001,989,0002,289,664
2May 27, 2021 17:565,59737,833,32615,920,0001,990,0002,273,280
3May 27, 2021 17:565,60640,268,70015,947,0001,993,0002,269,184
4May 27, 2021 17:565,61035,541,62516,954,000997,0002,277,376
5May 27, 2021 17:565,61140,939,24515,961,0001,995,0002,289,664
6May 27, 2021 17:565,61441,166,37515,970,0001,996,0002,375,680
7May 27, 2021 17:565,61834,933,96415,980,0001,997,0002,523,136
8May 27, 2021 17:565,62341,770,13616,994,000999,0002,269,184
9May 27, 2021 17:565,62735,794,16616,005,0002,000,0002,289,664
10May 27, 2021 17:565,62742,963,63116,006,0002,000,0002,269,184
11May 27, 2021 17:565,62846,699,33817,009,0001,000,0002,269,184
12May 27, 2021 17:565,63144,038,59517,017,0001,001,0002,289,664
13May 27, 2021 17:565,63137,789,88916,017,0002,002,0002,289,664
14May 27, 2021 17:565,65240,052,98516,078,0002,009,0002,523,136
15May 27, 2021 17:565,65844,454,90316,094,0002,011,0002,527,232
16May 27, 2021 17:565,66442,650,18216,112,0002,014,0002,289,664
17May 27, 2021 17:565,67142,526,61516,131,0002,016,0002,265,088
18May 27, 2021 17:565,68642,737,45316,175,0002,021,0002,273,280
19May 27, 2021 17:565,75249,219,58818,405,71102,293,760
20May 27, 2021 17:565,77848,021,49718,489,06402,297,856
21May 27, 2021 17:565,79377,213,97218,538,91402,297,856
22May 27, 2021 17:565,80159,907,88318,563,30502,297,856
23May 27, 2021 17:565,82662,173,27618,642,61102,297,856
24May 27, 2021 17:565,83279,636,73618,663,33302,256,896