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 15:55Ilya AniskovetsIlya AniskovetsScore: 5,777Success
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 15:555,48462,737,59817,549,49502,277,376
2Nov 1, 2021 15:555,49296,893,19017,575,87502,273,280
3Nov 1, 2021 15:555,53768,428,03717,719,62402,289,664
4Nov 1, 2021 15:555,66342,548,12017,116,0001,006,000274,432
5Nov 1, 2021 15:555,68543,322,01016,171,0002,021,000262,144
6Nov 1, 2021 15:555,72335,169,78815,262,0003,052,000167,936
7Nov 1, 2021 15:555,77744,416,09116,433,0002,054,000249,856
8Nov 1, 2021 15:555,79848,848,02216,492,0002,061,0002,355,200
9Nov 1, 2021 15:555,80445,373,83415,478,0003,095,0002,265,088
10Nov 1, 2021 15:555,82843,585,88015,543,0003,108,0002,363,392
11Nov 1, 2021 15:555,83846,128,45715,568,0003,113,0002,355,200
12Nov 1, 2021 15:555,89244,360,48916,870,0001,984,0002,519,040