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 29, 2021 14:57Yuriy LyfenkoYuriy LyfenkoScore: 5,064Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 14:575,01729,723,30614,048,0002,006,0002,265,088
2May 29, 2021 14:575,02342,714,23714,065,0002,009,0002,392,064
3May 29, 2021 14:575,02839,432,41014,078,0002,011,0002,396,160
4May 29, 2021 14:575,04437,190,33915,133,0001,008,0002,527,232
5May 29, 2021 14:575,06148,109,16615,184,0001,012,0002,387,968
6May 29, 2021 14:575,06433,551,05515,192,0001,012,0002,392,064
7May 29, 2021 14:575,06433,575,97615,192,0001,012,0002,379,776
8May 29, 2021 14:575,06840,997,01215,204,0001,013,0002,396,160
9May 29, 2021 14:575,07548,519,84714,211,0002,030,0002,387,968
10May 29, 2021 14:575,21862,791,44716,698,24002,273,280
11May 29, 2021 14:575,25360,112,14416,810,43602,281,472
12May 29, 2021 14:575,28791,622,33416,917,61102,269,184