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 listJan 2, 2023 16:53Jack FrigaardJack FrigaardScore: 6,068Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:536,01243,463,12817,213,0002,025,0002,285,568
2Jan 2, 2023 16:536,03950,583,67217,291,0002,034,0002,285,568
3Jan 2, 2023 16:536,04837,805,36017,315,0002,037,0002,285,568
4Jan 2, 2023 16:536,06336,843,47917,359,0002,042,0002,519,040
5Jan 2, 2023 16:536,06634,867,87318,391,0001,021,0002,527,232
6Jan 2, 2023 16:536,06836,324,38617,375,0002,044,0002,535,424
7Jan 2, 2023 16:536,06841,399,93218,397,0001,022,0002,285,568
8Jan 2, 2023 16:536,09048,667,65118,462,0001,025,0002,269,184
9Jan 2, 2023 16:536,09943,296,83418,490,0001,027,0002,277,376
10Jan 2, 2023 16:536,17189,529,08019,747,06202,289,664
11Jan 2, 2023 16:536,18589,225,17919,793,58202,297,856
12Jan 2, 2023 16:536,19491,610,53019,820,43902,301,952