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 17, 2021 19:44Yuriy LyfenkoYuriy LyfenkoScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:445,3131,206,746,33916,000,0001,000,0002,269,184
2May 17, 2021 19:445,3281,924,381,04316,103,000947,0002,527,232
3May 17, 2021 19:445,3301,374,771,09715,049,0002,006,0002,400,256
4May 17, 2021 19:445,3301,333,192,31316,052,0001,003,0002,260,992
5May 17, 2021 19:445,3302,255,339,10816,054,0001,003,0002,265,088
6May 17, 2021 19:445,3361,919,338,08616,070,0001,004,0002,269,184
7May 17, 2021 19:445,337599,576,96615,068,0002,009,0002,269,184
8May 17, 2021 19:445,3372,374,227,26615,069,0002,009,0002,269,184
9May 17, 2021 19:445,346124,087,41615,095,0002,012,0002,265,088
10May 17, 2021 19:445,4821,181,778,85717,541,63602,277,376
11May 17, 2021 19:445,4851,795,017,85817,551,32502,277,376
12May 17, 2021 19:445,5133,043,976,93217,642,79602,277,376