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 04:15Yuriy LyfenkoYuriy LyfenkoScore: 5,118Success
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 04:155,07235,882,60614,201,0002,028,0002,527,232
2May 28, 2021 04:155,07944,277,35615,238,0001,015,0002,265,088
3May 28, 2021 04:155,08438,853,38914,235,0002,033,0002,265,088
4May 28, 2021 04:155,10241,033,80115,307,0001,020,0002,400,256
5May 28, 2021 04:155,11240,140,15515,335,0001,022,0002,392,064
6May 28, 2021 04:155,11537,784,62715,346,0001,023,0002,392,064
7May 28, 2021 04:155,11845,719,05816,378,00002,396,160
8May 28, 2021 04:155,13438,327,15516,428,00002,265,088
9May 28, 2021 04:155,14849,405,71116,474,00002,265,088
10May 28, 2021 04:155,27386,829,65616,873,98402,273,280
11May 28, 2021 04:155,28546,832,40516,913,26102,269,184
12May 28, 2021 04:155,32056,862,43717,023,17702,277,376