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 11, 2021 19:25Yuriy LyfenkoYuriy LyfenkoScore: 5,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:255,57345,574,74715,852,0001,981,0002,523,136
2May 11, 2021 19:255,58242,865,59916,869,000992,0002,510,848
3May 11, 2021 19:255,58442,514,35015,883,0001,985,0002,387,968
4May 11, 2021 19:255,58544,043,72316,880,000992,0002,519,040
5May 11, 2021 19:255,58635,754,10615,888,0001,986,0002,383,872
6May 11, 2021 19:255,58644,874,39314,897,0002,979,0002,392,064
7May 11, 2021 19:255,59046,184,28915,901,0001,987,0002,519,040
8May 11, 2021 19:255,59141,148,40715,903,0001,987,0002,519,040
9May 11, 2021 19:255,59248,486,43414,911,0002,982,0002,392,064
10May 11, 2021 19:255,76378,664,90818,441,58502,285,568
11May 11, 2021 19:255,78583,702,80418,513,57102,269,184
12May 11, 2021 19:255,83178,467,75718,660,31102,273,280