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 listJan 24, 2024 07:57AnSaAnSaScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 07:575,31141,524,24615,995,000999,0002,392,064
2Jan 24, 2024 07:575,31139,109,65614,996,0001,999,0002,383,872
3Jan 24, 2024 07:575,31339,950,67716,002,0001,000,0002,281,472
4Jan 24, 2024 07:575,32541,149,95015,035,0002,004,0002,281,472
5Jan 24, 2024 07:575,32739,978,18015,042,0002,005,0002,396,160
6Jan 24, 2024 07:575,32833,979,68116,046,0001,002,0002,281,472
7Jan 24, 2024 07:575,33142,249,53716,056,0001,003,0002,392,064
8Jan 24, 2024 07:575,34542,764,29416,097,0001,006,0002,281,472
9Jan 24, 2024 07:575,36339,658,71815,144,0002,019,0002,396,160
10Jan 24, 2024 07:575,52584,796,59917,681,21602,285,568
11Jan 24, 2024 07:575,53289,302,11017,703,85502,256,896
12Jan 24, 2024 07:575,55175,483,60417,764,54202,277,376