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 21, 2024 12:23AnSaAnSaScore: 5,297Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 12:235,27044,063,25715,873,000992,0002,281,472
2Jan 21, 2024 12:235,27541,410,67214,894,0001,985,0002,396,160
3Jan 21, 2024 12:235,27840,651,07314,902,0001,986,0002,392,064
4Jan 21, 2024 12:235,27846,396,91714,904,0001,987,0002,387,968
5Jan 21, 2024 12:235,28236,057,38715,909,000994,0002,277,376
6Jan 21, 2024 12:235,28235,768,20015,909,000994,0002,392,064
7Jan 21, 2024 12:235,29746,158,79914,956,0001,994,0002,392,064
8Jan 21, 2024 12:235,30138,707,79615,966,000997,0002,506,752
9Jan 21, 2024 12:235,30335,168,26214,973,0001,996,0002,392,064
10Jan 21, 2024 12:235,47693,871,72717,524,64302,289,664
11Jan 21, 2024 12:235,47885,428,30417,529,28902,277,376
12Jan 21, 2024 12:235,52982,031,04517,692,36102,281,472