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 21:54Ulyanov AlekseyUlyanov AlekseyScore: 5,792Success
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 21:545,73135,068,48016,303,0002,037,0002,273,280
2Jun 17, 2023 21:545,74539,679,18817,363,0001,021,0002,289,664
3Jun 17, 2023 21:545,75734,553,68617,399,0001,023,0002,289,664
4Jun 17, 2023 21:545,76340,916,85716,394,0002,049,0002,531,328
5Jun 17, 2023 21:545,76641,485,90417,427,0001,025,0002,289,664
6Jun 17, 2023 21:545,78743,813,34717,489,0001,028,0002,277,376
7Jun 17, 2023 21:545,79246,845,64018,534,00002,269,184
8Jun 17, 2023 21:545,80546,542,63717,545,0001,032,0002,289,664
9Jun 17, 2023 21:545,81144,370,12717,563,0001,033,0002,269,184
10Jun 17, 2023 21:545,98788,115,46019,158,56302,297,856
11Jun 17, 2023 21:545,98869,050,24219,160,42302,293,760
12Jun 17, 2023 21:545,99095,964,66719,166,99702,293,760