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 29, 2024 17:42gviaugviauScore: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 17:425,84443,790,73817,662,0001,038,0002,269,184
2Jul 29, 2024 17:425,84444,925,58917,663,0001,039,0002,289,664
3Jul 29, 2024 17:425,89246,481,98117,861,000992,0002,531,328
4Jul 29, 2024 17:425,89744,366,22217,876,000993,0002,289,664
5Jul 29, 2024 17:425,89849,784,38617,880,000993,0002,289,664
6Jul 29, 2024 17:425,89945,155,82917,883,000993,0002,269,184
7Jul 29, 2024 17:425,89949,225,56116,780,0002,097,0002,510,848
8Jul 29, 2024 17:425,92142,327,15017,949,000997,0002,281,472
9Jul 29, 2024 17:425,92941,120,23817,974,000998,0002,269,184
10Jul 29, 2024 17:426,10187,658,35719,521,86202,297,856
11Jul 29, 2024 17:426,11892,477,77119,577,98602,293,760
12Jul 29, 2024 17:426,13380,844,23719,627,06702,301,952