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 22:36Robert BurkeRobert BurkeScore: 4,722Success
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 22:364,68234,909,93912,986,0001,997,0002,281,472
2Jul 22, 2022 22:364,68941,819,15813,004,0002,000,0002,281,472
3Jul 22, 2022 22:364,71030,488,39113,062,0002,009,0002,445,312
4Jul 22, 2022 22:364,71636,127,88413,080,0002,012,0002,441,216
5Jul 22, 2022 22:364,72041,311,92013,091,0002,014,0002,449,408
6Jul 22, 2022 22:364,72034,926,93613,091,0002,014,0002,453,504
7Jul 22, 2022 22:364,72231,434,11813,096,0002,014,0002,277,376
8Jul 22, 2022 22:364,74840,728,06114,181,0001,012,0002,445,312
9Jul 22, 2022 22:364,75733,734,12613,193,0002,029,0002,281,472
10Jul 22, 2022 22:364,90455,279,64115,691,35602,207,744
11Jul 22, 2022 22:364,90477,427,53215,694,32902,203,648
12Jul 22, 2022 22:364,91189,022,97215,716,41402,199,552