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 listNov 1, 2021 11:20Ilya AniskovetsIlya AniskovetsScore: 5,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:205,58850,399,04716,890,000993,0002,273,280
2Nov 1, 2021 11:205,59242,805,70615,905,0001,988,0002,289,664
3Nov 1, 2021 11:205,59339,300,43416,846,0001,052,0002,277,376
4Nov 1, 2021 11:205,60248,518,79815,934,0001,991,0002,289,664
5Nov 1, 2021 11:205,61534,219,91115,973,0001,996,0002,265,088
6Nov 1, 2021 11:205,62150,573,18515,989,0001,998,0002,277,376
7Nov 1, 2021 11:205,62743,409,24617,007,0001,000,0002,289,664
8Nov 1, 2021 11:205,62943,154,39316,013,0002,001,0002,289,664
9Nov 1, 2021 11:205,63341,730,96517,024,0001,001,0002,289,664
10Nov 1, 2021 11:205,72497,016,59818,317,84702,301,952
11Nov 1, 2021 11:205,73396,292,61918,346,21102,179,072
12Nov 1, 2021 11:205,75877,034,63718,427,17802,293,760