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 13, 2021 21:54evgenikwtevgenikwtScore: 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
1Jun 13, 2021 21:545,28741,032,60514,929,0001,990,0002,392,064
2Jun 13, 2021 21:545,29839,999,33214,958,0001,994,0002,265,088
3Jun 13, 2021 21:545,30145,297,24014,967,0001,995,0002,265,088
4Jun 13, 2021 21:545,30840,252,15714,986,0001,998,0002,265,088
5Jun 13, 2021 21:545,30947,865,57315,989,000999,0002,392,064
6Jun 13, 2021 21:545,31343,179,77515,000,0002,000,0002,265,088
7Jun 13, 2021 21:545,31644,210,48915,011,0002,001,0002,387,968
8Jun 13, 2021 21:545,32840,823,58015,044,0002,005,0002,387,968
9Jun 13, 2021 21:545,33041,087,27816,054,0001,003,0002,392,064
10Jun 13, 2021 21:545,50563,669,31117,615,53802,277,376
11Jun 13, 2021 21:545,52972,620,77317,691,97802,281,472
12Jun 13, 2021 21:545,53355,922,31917,706,13402,273,280