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:51Robert 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 22, 2022 23:514,59229,546,66313,644,0001,049,0002,449,408
2Jul 22, 2022 23:514,59640,684,54213,658,0001,050,0002,445,312
3Jul 22, 2022 23:514,60343,046,85713,678,0001,052,0002,441,216
4Jul 22, 2022 23:514,64733,471,13212,888,0001,982,0002,281,472
5Jul 22, 2022 23:514,64833,040,10212,890,0001,983,0002,445,312
6Jul 22, 2022 23:514,65131,511,64113,890,000992,0002,281,472
7Jul 22, 2022 23:514,65144,659,25112,898,0001,984,0002,281,472
8Jul 22, 2022 23:514,65132,046,06413,892,000992,0002,445,312
9Jul 22, 2022 23:514,65143,537,11412,900,0001,984,0002,437,120
10Jul 22, 2022 23:514,83572,616,18815,472,84402,207,744
11Jul 22, 2022 23:514,83787,866,16815,477,83102,199,552
12Jul 22, 2022 23:514,87083,096,78515,583,17802,199,552