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 listApr 21, 2025 22:30vahookvahookScore: 4,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 22:294,24129,199,45313,570,00002,502,656
2Apr 21, 2025 22:344,24634,100,93813,586,00002,498,560
3Apr 21, 2025 22:294,25535,219,32713,617,00002,494,464
4Apr 21, 2025 22:284,25627,017,70913,619,00002,273,280
5Apr 21, 2025 22:294,26130,763,02413,636,00002,486,272
6Apr 21, 2025 22:294,26233,407,21913,637,00002,273,280
7Apr 21, 2025 22:294,26533,244,28613,647,00002,494,464
8Apr 21, 2025 22:284,26729,591,86713,653,00002,486,272
9Apr 21, 2025 22:344,26841,381,59813,658,00002,494,464
10Apr 21, 2025 22:294,27029,735,76113,664,00002,273,280
11Apr 21, 2025 22:294,27839,089,10313,689,00002,273,280
12Apr 21, 2025 22:284,27838,329,55612,637,0001,053,0002,273,280
13Apr 21, 2025 22:294,28133,726,03713,700,00002,498,560
14Apr 21, 2025 22:344,28131,828,79313,700,00002,494,464
15Apr 21, 2025 22:294,28328,430,23113,707,00002,498,560
16Apr 21, 2025 22:304,28627,589,96313,715,00002,498,560
17Apr 21, 2025 22:304,28740,128,22413,719,00002,273,280
18Apr 21, 2025 22:294,29840,328,01113,752,00002,273,280
19Apr 21, 2025 22:304,32130,112,26612,839,000987,0002,273,280
20Apr 21, 2025 22:294,33631,323,57412,884,000991,0002,273,280
21Apr 21, 2025 22:294,33726,382,45413,877,00002,273,280
22Apr 21, 2025 22:304,65039,157,65713,889,000992,0002,273,280
23Apr 21, 2025 22:304,65429,837,28813,901,000992,0002,494,464
24Apr 21, 2025 22:304,66138,665,09313,920,000994,0002,498,560