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 13:00Yuriy LyfenkoYuriy LyfenkoScore: 5,660Success
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 13:005,62182,443,33915,989,0001,998,0002,387,968
2May 16, 2021 13:005,62777,904,66517,006,0001,000,0002,265,088
3May 16, 2021 13:005,63480,238,06917,027,0001,001,0002,387,968
4May 16, 2021 13:005,63582,511,45917,032,0001,001,0002,400,256
5May 16, 2021 13:005,64780,959,84717,066,0001,003,0002,392,064
6May 16, 2021 13:005,65082,707,45016,072,0002,009,0002,265,088
7May 16, 2021 13:005,66080,144,33917,105,0001,006,0002,392,064
8May 16, 2021 13:005,67283,556,92118,149,00002,269,184
9May 16, 2021 13:005,68281,509,95717,173,0001,010,0002,473,984
10May 16, 2021 13:006,066123,243,81219,411,15902,277,376
11May 16, 2021 13:006,082120,524,97819,463,44502,277,376
12May 16, 2021 13:006,131137,131,37819,619,96802,281,472