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 21:58Jack FrigaardJack FrigaardScore: 4,823Success
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 21:584,79435,678,32913,297,0002,045,0002,527,232
2Jan 2, 2023 21:584,79430,207,35713,297,0002,045,0002,269,184
3Jan 2, 2023 21:584,79833,416,81113,307,0002,047,0002,273,280
4Jan 2, 2023 21:584,80331,916,66313,319,0002,049,0002,285,568
5Jan 2, 2023 21:584,80342,359,64613,321,0002,049,0002,285,568
6Jan 2, 2023 21:584,80730,264,63213,332,0002,051,0002,285,568
7Jan 2, 2023 21:584,82336,443,93314,406,0001,029,0002,285,568
8Jan 2, 2023 21:584,82537,130,94513,382,0002,058,0002,527,232
9Jan 2, 2023 21:584,87834,808,77814,568,0001,040,0002,269,184
10Jan 2, 2023 21:585,01274,998,65416,039,28802,289,664
11Jan 2, 2023 21:585,05578,991,09216,175,14602,289,664
12Jan 2, 2023 21:585,08973,983,52816,284,24102,301,952