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 listJan 2, 2023 22:53Hal FHal FScore: 4,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:534,72835,925,74713,112,0002,017,0002,277,376
2Jan 2, 2023 22:534,73832,552,59514,150,0001,010,0002,273,280
3Jan 2, 2023 22:534,74033,258,75114,158,0001,011,0002,289,664
4Jan 2, 2023 22:534,74441,598,53313,156,0002,024,0002,289,664
5Jan 2, 2023 22:534,75629,964,08713,189,0002,029,0002,355,200
6Jan 2, 2023 22:534,76042,847,83413,201,0002,031,0002,527,232
7Jan 2, 2023 22:534,76335,632,13113,208,0002,032,0002,273,280
8Jan 2, 2023 22:534,76436,526,32614,228,0001,016,0002,269,184
9Jan 2, 2023 22:534,76538,827,16913,214,0002,033,0002,289,664
10Jan 2, 2023 22:534,96687,364,58015,890,33202,293,760
11Jan 2, 2023 22:534,97689,021,02015,922,72102,301,952
12Jan 2, 2023 22:534,99388,073,23815,978,22402,289,664