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:50Ulyanov AlekseyUlyanov AlekseyScore: 5,964Success
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:505,91138,303,57517,865,0001,050,0002,277,376
2Jun 17, 2023 22:505,94542,751,28018,023,0001,001,0002,277,376
3Jun 17, 2023 22:505,95341,965,97517,043,0002,005,0002,273,280
4Jun 17, 2023 22:505,95346,568,75317,046,0002,005,0002,277,376
5Jun 17, 2023 22:505,96142,140,83615,060,0004,016,0002,359,296
6Jun 17, 2023 22:505,96340,693,54017,073,0002,008,0002,277,376
7Jun 17, 2023 22:505,96445,609,48817,077,0002,009,0002,277,376
8Jun 17, 2023 22:505,97241,797,87616,092,0003,017,0002,269,184
9Jun 17, 2023 22:505,97848,612,69918,125,0001,006,0002,277,376
10Jun 17, 2023 22:506,10893,031,88919,546,71202,297,856
11Jun 17, 2023 22:506,13381,471,06919,624,48202,297,856
12Jun 17, 2023 22:506,31285,431,38320,198,51202,297,856