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 23, 2022 03:31Robert BurkeRobert BurkeScore: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 03:314,55133,507,50113,523,0001,040,0002,281,472
2Jul 23, 2022 03:314,58331,487,31113,619,0001,047,0002,441,216
3Jul 23, 2022 03:314,58429,009,10613,623,0001,047,0002,445,312
4Jul 23, 2022 03:314,58638,596,43113,628,0001,048,0002,277,376
5Jul 23, 2022 03:314,58731,810,44113,630,0001,048,0002,449,408
6Jul 23, 2022 03:314,59742,579,94113,660,0001,050,0002,445,312
7Jul 23, 2022 03:314,65129,645,75312,900,0001,984,0002,281,472
8Jul 23, 2022 03:314,65148,942,93912,900,0001,984,0002,449,408
9Jul 23, 2022 03:314,65233,883,45513,893,000992,0002,449,408
10Jul 23, 2022 03:314,81084,188,85115,392,73402,203,648
11Jul 23, 2022 03:314,81894,521,23615,418,58702,211,840
12Jul 23, 2022 03:314,82272,536,96815,429,31902,207,744