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 23, 2021 13:07Vladimir KuryakovVladimir KuryakovScore: 5,618Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 13:075,59544,251,47516,909,000994,0002,392,064
2May 23, 2021 13:075,59733,407,53015,921,0001,990,0002,392,064
3May 23, 2021 13:075,60145,171,04115,931,0001,991,0002,519,040
4May 23, 2021 13:075,60742,404,10815,948,0001,993,0002,519,040
5May 23, 2021 13:075,60842,540,12715,952,0001,994,0002,523,136
6May 23, 2021 13:075,61449,272,06616,968,000998,0002,519,040
7May 23, 2021 13:075,61849,689,03415,981,0001,997,0002,519,040
8May 23, 2021 13:075,63643,815,86716,031,0002,003,0002,523,136
9May 23, 2021 13:075,66643,611,99417,123,0001,007,0002,519,040
10May 23, 2021 13:075,89882,888,98718,873,80302,281,472
11May 23, 2021 13:075,90184,892,87918,883,52102,269,184
12May 23, 2021 13:075,92361,160,88518,954,33402,277,376