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 16, 2021 14:08Yuriy LyfenkoYuriy LyfenkoScore: 5,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 14:085,64645,498,25615,056,0003,011,0002,519,040
2May 16, 2021 14:085,65035,587,31816,072,0002,009,0002,519,040
3May 16, 2021 14:085,65542,236,62116,086,0002,010,0002,392,064
4May 16, 2021 14:085,67546,971,67415,133,0003,026,0002,490,368
5May 16, 2021 14:085,68546,638,86417,182,0001,010,0002,392,064
6May 16, 2021 14:085,68744,364,94917,187,0001,011,0002,519,040
7May 16, 2021 14:085,69338,302,25417,205,0001,012,0002,519,040
8May 16, 2021 14:085,70750,976,68118,263,00002,392,064
9May 16, 2021 14:085,71134,222,46917,260,0001,015,0002,519,040
10May 16, 2021 14:086,16783,776,25719,735,94302,281,472
11May 16, 2021 14:086,20573,274,54519,855,95302,277,376
12May 16, 2021 14:086,22484,672,80619,918,02102,277,376