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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:215,15941,038,00915,477,0001,031,0002,281,472
2Jan 23, 2024 19:215,16637,975,53315,497,0001,033,0002,281,472
3Jan 23, 2024 19:215,17838,939,99315,535,0001,035,0002,281,472
4Jan 23, 2024 19:215,18442,962,46116,588,00002,281,472
5Jan 23, 2024 19:215,18647,830,78416,595,00002,392,064
6Jan 23, 2024 19:215,19646,097,96315,588,0001,039,0002,396,160
7Jan 23, 2024 19:215,20133,308,93616,642,00002,387,968
8Jan 23, 2024 19:215,20151,619,61816,642,00002,396,160
9Jan 23, 2024 19:215,21143,330,55515,633,0001,042,0002,396,160
10Jan 23, 2024 19:215,39659,310,77117,266,89802,285,568
11Jan 23, 2024 19:215,39892,514,20217,272,40402,281,472
12Jan 23, 2024 19:215,41880,308,00717,339,02302,277,376