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 15:47AnSaAnSaScore: 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 24, 2024 15:475,27541,700,84114,894,0001,985,0002,400,256
2Jan 24, 2024 15:475,27542,806,24714,895,0001,986,0002,396,160
3Jan 24, 2024 15:475,28145,199,48414,910,0001,988,0002,383,872
4Jan 24, 2024 15:475,29041,054,54015,933,000995,0002,387,968
5Jan 24, 2024 15:475,29137,570,70515,936,000996,0002,277,376
6Jan 24, 2024 15:475,29243,862,99115,939,000996,0002,383,872
7Jan 24, 2024 15:475,29738,062,00715,952,000997,0002,396,160
8Jan 24, 2024 15:475,31140,869,16815,997,000999,0002,396,160
9Jan 24, 2024 15:475,33242,463,54417,063,00002,396,160
10Jan 24, 2024 15:475,48087,309,25717,535,61502,285,568
11Jan 24, 2024 15:475,50884,271,70717,625,78102,277,376
12Jan 24, 2024 15:475,50992,254,52217,629,63102,281,472