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:51Robert BurkeRobert BurkeScore: 4,650Success
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:514,60132,765,18513,673,0001,051,0002,449,408
2Jul 23, 2022 00:514,63726,933,55112,861,0001,978,0002,535,424
3Jul 23, 2022 00:514,64534,411,58212,882,0001,981,0002,449,408
4Jul 23, 2022 00:514,64531,632,52713,874,000991,0002,441,216
5Jul 23, 2022 00:514,64831,378,05612,890,0001,983,0002,281,472
6Jul 23, 2022 00:514,64832,150,56513,883,000991,0002,453,504
7Jul 23, 2022 00:514,65044,054,16912,897,0001,984,0002,281,472
8Jul 23, 2022 00:514,65132,146,80812,898,0001,984,0002,449,408
9Jul 23, 2022 00:514,67934,969,93613,974,000998,0002,445,312
10Jul 23, 2022 00:514,86659,002,67115,569,69102,199,552
11Jul 23, 2022 00:514,87192,958,11215,586,98002,207,744
12Jul 23, 2022 00:514,87377,696,22015,593,70502,199,552