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 listApr 17, 2024 22:20Joad NacerJoad NacerScore: 4,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 22:204,80932,950,52815,389,00002,269,184
2Apr 17, 2024 22:204,82335,979,48314,404,0001,028,0002,289,664
3Apr 17, 2024 22:204,83532,375,70214,440,0001,031,0002,269,184
4Apr 17, 2024 22:204,83641,918,85915,476,00002,527,232
5Apr 17, 2024 22:204,84832,781,11514,478,0001,034,0002,289,664
6Apr 17, 2024 22:204,84839,158,83514,480,0001,034,0002,289,664
7Apr 17, 2024 22:204,85341,493,33314,495,0001,035,0002,289,664
8Apr 17, 2024 22:204,86332,579,82514,525,0001,037,0002,289,664
9Apr 17, 2024 22:204,87436,865,98614,559,0001,039,0002,289,664
10Apr 17, 2024 22:205,063101,656,91016,202,23602,297,856
11Apr 17, 2024 22:205,07597,349,64416,239,63802,301,952
12Apr 17, 2024 22:205,08479,056,35216,270,28102,301,952