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 17:47Yuriy LyfenkoYuriy LyfenkoScore: 5,621Success
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 17:475,58947,596,48915,899,0001,987,0002,383,872
2May 11, 2021 17:475,59643,527,86116,912,000994,0002,519,040
3May 11, 2021 17:475,59840,223,53914,929,0002,985,0002,387,968
4May 11, 2021 17:475,59944,679,25816,921,000995,0002,387,968
5May 11, 2021 17:475,60746,451,16716,947,000996,0002,519,040
6May 11, 2021 17:475,61747,949,77915,976,0001,997,0002,519,040
7May 11, 2021 17:475,62145,753,76016,989,000999,0002,519,040
8May 11, 2021 17:475,62549,638,16617,000,0001,000,0002,519,040
9May 11, 2021 17:475,63248,228,22916,020,0002,002,0002,260,992
10May 11, 2021 17:475,85096,246,18218,721,21602,289,664
11May 11, 2021 17:475,853100,274,87718,729,58002,281,472
12May 11, 2021 17:475,885104,241,27618,831,04502,277,376