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 28, 2024 07:52BenBenScore: 5,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:525,05830,043,18814,164,0002,023,0002,392,064
2Jul 28, 2024 07:525,09443,143,06915,282,0001,018,0002,502,656
3Jul 28, 2024 07:525,10334,950,14015,308,0001,020,0002,527,232
4Jul 28, 2024 07:525,10838,151,08114,304,0002,043,0002,383,872
5Jul 28, 2024 07:525,11032,587,48615,331,0001,022,0002,265,088
6Jul 28, 2024 07:525,12041,801,37315,360,0001,024,0002,392,064
7Jul 28, 2024 07:525,12432,734,99115,372,0001,024,0002,396,160
8Jul 28, 2024 07:525,12638,974,98115,379,0001,025,0002,527,232
9Jul 28, 2024 07:525,12642,286,47615,379,0001,025,0002,387,968
10Jul 28, 2024 07:525,34374,199,50717,099,14102,281,472
11Jul 28, 2024 07:525,34483,827,51817,100,69402,281,472
12Jul 28, 2024 07:525,38671,577,48217,234,42802,289,664