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 28, 2021 20:47Dmitry DolgopolovDmitry DolgopolovScore: 5,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:474,99136,370,31613,974,0001,996,0002,441,216
2May 28, 2021 20:474,99641,580,17213,989,0001,998,0002,273,280
3May 28, 2021 20:474,99739,331,28613,991,0001,998,0002,445,312
4May 28, 2021 20:475,00143,559,76814,003,0002,000,0002,535,424
5May 28, 2021 20:475,00637,769,58614,018,0002,002,0002,535,424
6May 28, 2021 20:475,02031,796,61314,057,0002,008,0002,445,312
7May 28, 2021 20:475,02339,315,42114,063,0002,009,0002,273,280
8May 28, 2021 20:475,03333,411,85114,091,0002,013,0002,273,280
9May 28, 2021 20:475,05331,502,63215,160,0001,010,0002,449,408
10May 28, 2021 20:475,23948,017,61916,764,87802,256,896
11May 28, 2021 20:475,24867,615,80316,793,44702,199,552
12May 28, 2021 20:475,29765,871,58516,950,76502,195,456