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 15, 2022 07:29Robert BurkeRobert BurkeScore: 5,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 07:295,27436,438,29014,893,0001,985,0002,281,472
2Jul 15, 2022 07:295,27743,656,24515,894,000993,0002,281,472
3Jul 15, 2022 07:295,28034,033,53114,909,0001,987,0002,437,120
4Jul 15, 2022 07:295,28433,880,68215,852,0001,056,0002,424,832
5Jul 15, 2022 07:295,28837,679,66715,925,000995,0002,420,736
6Jul 15, 2022 07:295,29241,424,14115,937,000996,0002,281,472
7Jul 15, 2022 07:295,29537,831,86614,951,0001,993,0002,437,120
8Jul 15, 2022 07:295,30437,415,62715,976,000998,0002,281,472
9Jul 15, 2022 07:295,33839,956,63915,071,0002,009,0002,424,832
10Jul 15, 2022 07:295,47979,210,10717,532,14402,187,264
11Jul 15, 2022 07:295,49780,868,37917,591,41102,183,168
12Jul 15, 2022 07:295,50480,727,48417,612,09402,183,168