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 listJun 6, 2021 23:51evgenikwtevgenikwtScore: 5,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 23:515,26650,334,17715,799,0001,053,0002,265,088
2Jun 6, 2021 23:515,27242,297,22515,879,000992,0002,387,968
3Jun 6, 2021 23:515,27438,811,15214,891,0001,985,0002,265,088
4Jun 6, 2021 23:515,27744,858,48214,901,0001,986,0002,379,776
5Jun 6, 2021 23:515,27845,309,71514,902,0001,986,0002,265,088
6Jun 6, 2021 23:515,28341,706,28414,918,0001,989,0002,387,968
7Jun 6, 2021 23:515,28736,367,33915,922,000995,0002,387,968
8Jun 6, 2021 23:515,28842,787,36615,926,000995,0002,256,896
9Jun 6, 2021 23:515,30145,214,06415,966,000997,0002,265,088
10Jun 6, 2021 23:515,46283,661,87517,479,20602,285,568
11Jun 6, 2021 23:515,47679,252,60017,521,73102,277,376
12Jun 6, 2021 23:515,48486,251,84017,547,66202,281,472