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 30, 2024 03:23BenBenScore: 5,146Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:235,06642,156,59114,184,0002,026,0002,392,064
2Jul 30, 2024 03:235,10538,673,81516,336,00002,265,088
3Jul 30, 2024 03:235,11533,995,82214,322,0002,046,0002,265,088
4Jul 30, 2024 03:235,11632,206,09114,326,0002,046,0002,265,088
5Jul 30, 2024 03:235,13341,232,46316,424,00002,265,088
6Jul 30, 2024 03:235,14337,286,48815,428,0001,028,0002,392,064
7Jul 30, 2024 03:235,14640,197,37716,467,00002,265,088
8Jul 30, 2024 03:235,15342,948,09716,490,00002,265,088
9Jul 30, 2024 03:235,16340,310,69216,521,00002,527,232
10Jul 30, 2024 03:235,29390,483,01816,938,15502,281,472
11Jul 30, 2024 03:235,29795,143,27916,951,23602,289,664
12Jul 30, 2024 03:235,30091,234,06716,960,88902,281,472