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 listJul 20, 2024 12:39Matt StuchlikMatt StuchlikScore: 4,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 12:394,65731,736,76013,908,000993,0002,273,280
2Jul 20, 2024 12:394,66039,931,87512,924,0001,988,0002,289,664
3Jul 20, 2024 12:394,67740,213,53012,972,0001,995,0002,289,664
4Jul 20, 2024 12:394,68539,096,02613,993,000999,0002,289,664
5Jul 20, 2024 12:394,68932,296,21013,004,0002,000,0002,289,664
6Jul 20, 2024 12:394,69439,195,12814,020,0001,001,0002,289,664
7Jul 20, 2024 12:394,69536,936,64413,022,0002,003,0002,273,280
8Jul 20, 2024 12:394,69636,527,65113,023,0002,003,0002,289,664
9Jul 20, 2024 12:394,70835,190,94713,057,0002,008,0002,289,664
10Jul 20, 2024 12:394,94665,904,54415,827,59002,285,568
11Jul 20, 2024 12:394,94888,656,46615,832,81802,297,856
12Jul 20, 2024 12:394,98274,617,30315,942,14302,285,568