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 23, 2021 16:54Yuriy LyfenkoYuriy LyfenkoScore: 5,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 16:545,37443,012,86615,174,0002,023,0002,265,088
2May 23, 2021 16:545,37740,015,15115,182,0002,024,0002,265,088
3May 23, 2021 16:545,39634,492,06016,252,0001,015,0002,265,088
4May 23, 2021 16:545,40545,834,10415,262,0002,034,0002,269,184
5May 23, 2021 16:545,40740,451,71715,266,0002,035,0002,527,232
6May 23, 2021 16:545,41032,853,78015,275,0002,036,0002,265,088
7May 23, 2021 16:545,42734,675,72417,365,00002,392,064
8May 23, 2021 16:545,43643,104,42317,394,00002,265,088
9May 23, 2021 16:545,43830,436,15216,377,0001,023,0002,265,088
10May 23, 2021 16:545,60584,263,15917,937,51002,269,184
11May 23, 2021 16:545,62481,445,49517,995,79802,277,376
12May 23, 2021 16:545,63384,282,20218,026,65102,281,472