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 9, 2024 18:12matsuoka-601matsuoka-601Score: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:124,59832,359,41414,715,00002,404,352
2Jun 9, 2024 18:124,60845,463,59913,691,0001,053,0002,412,544
3Jun 9, 2024 18:124,64331,138,99613,867,000990,0002,285,568
4Jun 9, 2024 18:124,64632,176,38812,886,0001,982,0002,510,848
5Jun 9, 2024 18:124,64634,437,75213,875,000991,0002,285,568
6Jun 9, 2024 18:124,64640,949,01312,886,0001,982,0002,285,568
7Jun 9, 2024 18:124,64628,410,59812,885,0001,982,0002,285,568
8Jun 9, 2024 18:124,64730,319,51913,880,000991,0002,404,352
9Jun 9, 2024 18:124,64841,589,29513,881,000991,0002,285,568
10Jun 9, 2024 18:124,64831,825,19413,882,000991,0002,285,568
11Jun 9, 2024 18:124,64831,556,67213,811,0001,062,0002,285,568
12Jun 9, 2024 18:124,65040,739,89114,881,00002,285,568
13Jun 9, 2024 18:124,65137,369,48212,899,0001,984,0002,285,568
14Jun 9, 2024 18:124,65131,997,45514,884,00002,285,568
15Jun 9, 2024 18:124,65238,176,66113,893,000992,0002,412,544
16Jun 9, 2024 18:124,65328,707,65012,903,0001,985,0002,285,568
17Jun 9, 2024 18:124,65338,073,65013,898,000992,0002,285,568
18Jun 9, 2024 18:124,67535,489,36112,965,0001,994,0002,408,448
19Jun 9, 2024 18:124,87290,218,19615,590,65702,293,760
20Jun 9, 2024 18:124,87294,531,80515,589,79502,297,856
21Jun 9, 2024 18:124,91085,542,95315,712,92302,174,976
22Jun 9, 2024 18:124,91491,292,54315,723,48702,301,952
23Jun 9, 2024 18:124,92081,352,13815,745,13202,297,856
24Jun 9, 2024 18:124,92193,144,94115,746,35602,310,144