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 13, 2024 12:55AndreyTSAndreyTSScore: 5,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:555,44534,881,73316,400,0001,025,0002,273,280
2Jun 13, 2024 12:555,45542,843,74016,431,0001,026,0002,392,064
3Jun 13, 2024 12:555,46551,060,22716,460,0001,028,0002,289,664
4Jun 13, 2024 12:555,47843,959,06216,499,0001,031,0002,289,664
5Jun 13, 2024 12:555,48335,544,28116,513,0001,032,0002,289,664
6Jun 13, 2024 12:555,48333,932,82416,513,0001,032,0002,289,664
7Jun 13, 2024 12:555,49036,724,05717,568,00002,273,280
8Jun 13, 2024 12:555,49339,364,95717,579,00002,289,664
9Jun 13, 2024 12:555,51742,671,24916,617,0001,038,0002,527,232
10Jun 13, 2024 12:555,71877,667,18318,298,77302,174,976
11Jun 13, 2024 12:555,72481,007,26618,317,32202,170,880
12Jun 13, 2024 12:555,73098,917,97118,337,32602,293,760