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:23Jack FrigaardJack FrigaardScore: 5,633Success
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:235,58343,172,62616,873,000992,0002,273,280
2Jan 1, 2023 21:235,59246,002,12116,901,000994,0002,289,664
3Jan 1, 2023 21:235,59344,293,92315,910,0001,988,0002,289,664
4Jan 1, 2023 21:235,59648,179,07715,917,0001,989,0002,289,664
5Jan 1, 2023 21:235,62348,111,03015,993,0001,999,0002,265,088
6Jan 1, 2023 21:235,62640,440,78416,003,0002,000,0002,527,232
7Jan 1, 2023 21:235,63346,865,36416,022,0002,002,0002,273,280
8Jan 1, 2023 21:235,65538,521,57116,087,0002,010,0002,289,664
9Jan 1, 2023 21:235,67143,097,04816,132,0002,016,0002,355,200
10Jan 1, 2023 21:235,80096,689,41118,561,02802,174,976
11Jan 1, 2023 21:236,02782,603,67119,287,63002,297,856
12Jan 1, 2023 21:236,03463,198,54919,309,06302,297,856