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 listMar 8, 2024 03:47Huy Duc LeHuy Duc LeScore: 4,663Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2024 03:474,64229,363,50213,864,000990,0002,265,088
2Mar 8, 2024 03:474,64745,644,98913,880,000991,0002,506,752
3Mar 8, 2024 03:474,64835,659,20212,890,0001,983,0002,392,064
4Mar 8, 2024 03:474,65133,438,20912,898,0001,984,0002,265,088
5Mar 8, 2024 03:474,65138,006,67214,883,00002,383,872
6Mar 8, 2024 03:474,65331,872,56212,903,0001,985,0002,265,088
7Mar 8, 2024 03:474,66339,187,46212,934,0001,989,0002,269,184
8Mar 8, 2024 03:474,67834,253,19513,972,000998,0002,527,232
9Mar 8, 2024 03:474,69635,273,58613,023,0002,003,0002,383,872
10Mar 8, 2024 03:474,92578,486,35715,758,69002,281,472
11Mar 8, 2024 03:474,94081,772,15115,806,95502,289,664
12Mar 8, 2024 03:475,09192,657,43016,290,84002,277,376