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 1, 2023 21:40Jack FrigaardJack FrigaardScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:405,51644,492,43316,612,0001,038,0002,269,184
2Jan 1, 2023 21:405,52837,744,91116,651,0001,040,0002,289,664
3Jan 1, 2023 21:405,53449,928,95216,669,0001,041,0002,289,664
4Jan 1, 2023 21:405,57748,578,24715,864,0001,983,0002,289,664
5Jan 1, 2023 21:405,58146,286,86316,866,000992,0002,265,088
6Jan 1, 2023 21:405,58347,902,26415,880,0001,985,0002,371,584
7Jan 1, 2023 21:405,58442,963,66116,878,000992,0002,289,664
8Jan 1, 2023 21:405,58434,572,57415,885,0001,985,0002,519,040
9Jan 1, 2023 21:405,59841,743,92415,925,0001,990,0002,265,088
10Jan 1, 2023 21:405,83483,556,37218,669,39202,179,072
11Jan 1, 2023 21:405,86882,179,29018,776,63602,297,856
12Jan 1, 2023 21:406,10085,478,24119,521,27002,297,856