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 17, 2023 22:12Ulyanov AlekseyUlyanov AlekseyScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:125,66139,367,72017,109,0001,006,0002,277,376
2Jun 17, 2023 22:125,66837,318,27616,121,0002,015,0002,273,280
3Jun 17, 2023 22:125,67444,296,32818,158,00002,289,664
4Jun 17, 2023 22:125,67744,744,88316,149,0002,018,0002,289,664
5Jun 17, 2023 22:125,68043,162,56216,156,0002,019,0002,289,664
6Jun 17, 2023 22:125,68038,402,03916,157,0002,019,0002,289,664
7Jun 17, 2023 22:125,70645,702,36016,230,0002,028,0002,289,664
8Jun 17, 2023 22:125,72189,311,95418,307,54502,174,976
9Jun 17, 2023 22:125,72542,240,46917,304,0001,017,0002,289,664
10Jun 17, 2023 22:125,73639,940,26817,337,0001,019,0002,289,664
11Jun 17, 2023 22:125,83881,949,49318,681,91402,306,048
12Jun 17, 2023 22:125,88589,460,35918,832,83502,174,976