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 listJul 23, 2022 01:40Robert BurkeRobert BurkeScore: 4,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 01:404,57832,780,53013,603,0001,046,0002,449,408
2Jul 23, 2022 01:404,58330,407,15113,620,0001,047,0002,449,408
3Jul 23, 2022 01:404,58432,527,81213,622,0001,047,0002,449,408
4Jul 23, 2022 01:404,58633,567,73913,628,0001,048,0002,449,408
5Jul 23, 2022 01:404,58736,197,78513,631,0001,048,0002,445,312
6Jul 23, 2022 01:404,59529,928,22613,654,0001,050,0002,277,376
7Jul 23, 2022 01:404,59940,942,03013,666,0001,051,0002,281,472
8Jul 23, 2022 01:404,60239,287,05213,674,0001,051,0002,281,472
9Jul 23, 2022 01:404,65329,500,85812,903,0001,985,0002,445,312
10Jul 23, 2022 01:404,82275,924,78515,430,17502,207,744
11Jul 23, 2022 01:404,84091,648,67915,489,41802,199,552
12Jul 23, 2022 01:404,86983,274,57015,579,39002,207,744