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 26, 2024 13:34AnSaAnSaScore: 5,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2024 13:345,27841,203,95914,903,0001,987,0002,285,568
2Jan 26, 2024 13:345,28647,175,42216,915,00002,285,568
3Jan 26, 2024 13:345,30642,560,41014,982,0001,997,0002,285,568
4Jan 26, 2024 13:345,31245,075,87614,998,0001,999,0002,408,448
5Jan 26, 2024 13:345,31439,517,46716,004,0001,000,0002,400,256
6Jan 26, 2024 13:345,31443,888,99016,004,0001,000,0002,285,568
7Jan 26, 2024 13:345,31642,407,47015,009,0002,001,0002,285,568
8Jan 26, 2024 13:345,31744,924,73115,013,0002,001,0002,408,448
9Jan 26, 2024 13:345,31831,933,15616,016,0001,001,0002,285,568
10Jan 26, 2024 13:345,51281,883,62717,637,35102,306,048
11Jan 26, 2024 13:345,53372,964,51917,704,09502,293,760
12Jan 26, 2024 13:345,54778,156,03917,751,53702,306,048