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 listJun 7, 2021 00:03evgenikwtevgenikwtScore: 5,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2021 00:035,30243,516,56813,973,0002,994,0002,359,296
2Jun 7, 2021 00:035,31142,558,18715,995,000999,0002,363,392
3Jun 7, 2021 00:035,31337,249,00714,002,0003,000,0002,322,432
4Jun 7, 2021 00:035,31734,677,12314,012,0003,002,0002,334,720
5Jun 7, 2021 00:035,31942,025,79916,020,0001,001,0002,322,432
6Jun 7, 2021 00:035,32436,441,34714,032,0003,006,0002,334,720
7Jun 7, 2021 00:035,32741,921,75816,043,0001,002,0002,318,336
8Jun 7, 2021 00:035,32733,067,43716,044,0001,002,0002,355,200
9Jun 7, 2021 00:035,32940,914,15314,043,0003,009,0002,465,792
10Jun 7, 2021 00:035,50575,234,87017,616,03202,207,744
11Jun 7, 2021 00:035,51996,550,75217,659,64402,199,552
12Jun 7, 2021 00:035,52466,704,86217,675,99402,191,360