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 listJul 22, 2022 23:12Robert BurkeRobert BurkeScore: 4,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:124,70040,109,31413,036,0002,005,0002,281,472
2Jul 22, 2022 23:124,72629,680,96713,107,0002,016,0002,449,408
3Jul 22, 2022 23:124,73540,905,70013,132,0002,020,0002,281,472
4Jul 22, 2022 23:124,73730,809,04813,138,0002,021,0002,449,408
5Jul 22, 2022 23:124,73830,551,07813,140,0002,021,0002,453,504
6Jul 22, 2022 23:124,74136,932,19913,148,0002,022,0002,281,472
7Jul 22, 2022 23:124,74336,229,36413,155,0002,023,0002,281,472
8Jul 22, 2022 23:124,75238,756,14513,180,0002,027,0002,445,312
9Jul 22, 2022 23:124,75830,866,76813,195,0002,030,0002,281,472
10Jul 22, 2022 23:124,93681,323,11015,795,32102,191,360
11Jul 22, 2022 23:124,95583,931,61315,855,53502,207,744
12Jul 22, 2022 23:124,98982,877,22815,963,72402,207,744