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 00:47Robert BurkeRobert BurkeScore: 4,597Success
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 00:474,56238,025,82913,557,0001,042,0002,449,408
2Jul 23, 2022 00:474,57829,745,23313,603,0001,046,0002,281,472
3Jul 23, 2022 00:474,58030,537,07413,610,0001,046,0002,445,312
4Jul 23, 2022 00:474,59238,849,67413,644,0001,049,0002,445,312
5Jul 23, 2022 00:474,59631,795,45213,657,0001,050,0002,449,408
6Jul 23, 2022 00:474,59744,380,66113,659,0001,050,0002,281,472
7Jul 23, 2022 00:474,59734,849,01813,660,0001,050,0002,281,472
8Jul 23, 2022 00:474,65034,102,80612,896,0001,984,0002,445,312
9Jul 23, 2022 00:474,65331,066,39012,903,0001,985,0002,281,472
10Jul 23, 2022 00:474,84658,899,04715,508,19202,199,552
11Jul 23, 2022 00:474,85676,309,44315,538,12302,207,744
12Jul 23, 2022 00:474,85772,407,76315,541,27002,203,648