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 3, 2023 21:12Hal 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 3, 2023 21:124,73733,779,77213,137,0002,021,0002,289,664
2Jan 3, 2023 21:124,73835,125,85013,139,0002,021,0002,289,664
3Jan 3, 2023 21:124,74136,455,07714,161,0001,011,0002,269,184
4Jan 3, 2023 21:124,75037,111,21313,175,0002,026,0002,289,664
5Jan 3, 2023 21:124,75232,772,41813,180,0002,027,0002,277,376
6Jan 3, 2023 21:124,75838,230,45013,196,0002,030,0002,289,664
7Jan 3, 2023 21:124,76336,060,96714,225,0001,016,0002,269,184
8Jan 3, 2023 21:124,78033,561,54313,257,0002,039,0002,289,664
9Jan 3, 2023 21:124,78740,851,74713,275,0002,042,0002,285,568
10Jan 3, 2023 21:124,98891,846,19015,960,70502,301,952
11Jan 3, 2023 21:124,99466,451,18315,981,27702,301,952
12Jan 3, 2023 21:125,01277,106,43016,038,40502,297,856