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 24, 2022 10:45Robert BurkeRobert BurkeScore: 4,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 10:454,47232,375,09413,288,0001,022,0002,277,376
2Jul 24, 2022 10:454,47235,088,97013,289,0001,022,0002,449,408
3Jul 24, 2022 10:454,47834,283,26813,307,0001,023,0002,281,472
4Jul 24, 2022 10:454,49541,258,36113,357,0001,027,0002,281,472
5Jul 24, 2022 10:454,50028,634,46013,371,0001,028,0002,453,504
6Jul 24, 2022 10:454,50332,541,04413,379,0001,029,0002,281,472
7Jul 24, 2022 10:454,51831,660,35514,456,00002,281,472
8Jul 24, 2022 10:454,52331,328,83714,473,00002,281,472
9Jul 24, 2022 10:454,54729,594,75512,611,0001,940,0002,535,424
10Jul 24, 2022 10:454,72882,121,46815,130,96202,199,552
11Jul 24, 2022 10:454,74388,801,05815,176,43702,207,744
12Jul 24, 2022 10:454,75378,718,81115,210,35602,203,648