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 17, 2021 23:14Yuriy LyfenkoYuriy LyfenkoScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:145,246631,268,05814,812,0001,974,0002,523,136
2May 17, 2021 23:145,249178,133,80515,810,000988,0002,523,136
3May 17, 2021 23:145,253186,950,85915,821,000988,0002,523,136
4May 17, 2021 23:145,258145,816,93715,837,000989,0002,392,064
5May 17, 2021 23:145,2591,757,615,77915,839,000989,0002,523,136
6May 17, 2021 23:145,2782,938,476,71016,890,00002,519,040
7May 17, 2021 23:145,2791,919,568,01413,912,0002,981,0002,523,136
8May 17, 2021 23:145,2811,366,006,70515,905,000994,0002,523,136
9May 17, 2021 23:145,308597,535,23015,987,000999,0002,519,040
10May 17, 2021 23:145,4391,379,856,80217,404,21402,281,472
11May 17, 2021 23:145,4402,667,761,49017,408,22002,281,472
12May 17, 2021 23:145,4621,783,426,36117,478,02102,281,472