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 23:42Robert BurkeRobert BurkeScore: 4,796Success
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 23:424,57032,443,73113,579,0001,044,0002,281,472
2Jul 22, 2022 23:424,59031,928,56413,639,0001,049,0002,281,472
3Jul 22, 2022 23:424,59643,393,74613,656,0001,050,0002,453,504
4Jul 22, 2022 23:424,59832,444,87413,664,0001,051,0002,441,216
5Jul 22, 2022 23:424,64629,859,06812,886,0001,982,0002,281,472
6Jul 22, 2022 23:424,64942,839,69813,886,000991,0002,281,472
7Jul 22, 2022 23:424,79656,442,61015,345,92602,203,648
8Jul 22, 2022 23:424,83885,576,80715,482,14902,256,896
9Jul 22, 2022 23:424,86390,312,88215,561,34702,203,648
10Jul 22, 2022 23:425,17743,522,32913,459,0003,106,0002,281,472
11Jul 22, 2022 23:425,17934,924,07613,467,0003,107,0002,404,352
12Jul 22, 2022 23:425,19144,742,79813,496,0003,114,0002,281,472