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 listMay 15, 2021 21:41Yuriy LyfenkoYuriy LyfenkoScore: 5,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:415,44044,829,50717,409,00002,265,088
2May 15, 2021 21:415,44933,734,71816,411,0001,025,0002,510,848
3May 15, 2021 21:415,45237,977,78615,394,0002,052,0002,523,136
4May 15, 2021 21:415,46139,446,95216,447,0001,027,0002,260,992
5May 15, 2021 21:415,47133,582,35815,448,0002,059,0002,392,064
6May 15, 2021 21:415,48139,424,62815,475,0002,063,0002,523,136
7May 15, 2021 21:415,49237,702,27015,506,0002,067,0002,387,968
8May 15, 2021 21:415,57751,522,62015,863,0001,982,0002,396,160
9May 15, 2021 21:415,59153,738,03216,898,000994,0002,260,992
10May 15, 2021 21:415,64385,899,72618,057,88202,281,472
11May 15, 2021 21:415,72589,133,73618,321,43202,277,376
12May 15, 2021 21:415,72684,756,93918,324,58902,281,472