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 listFeb 23, 2023 22:35Andranik ChakiryanAndranik ChakiryanScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 22:355,58533,440,57415,887,0001,985,0002,351,104
2Feb 23, 2023 22:355,58941,322,35715,897,0001,987,0002,355,200
3Feb 23, 2023 22:355,59738,898,75216,916,000995,0002,338,816
4Feb 23, 2023 22:355,59836,375,07715,923,0001,990,0002,351,104
5Feb 23, 2023 22:355,61350,140,07215,966,0001,995,0002,342,912
6Feb 23, 2023 22:355,61740,978,80416,977,000998,0002,363,392
7Feb 23, 2023 22:355,62436,588,17215,998,0001,999,0002,342,912
8Feb 23, 2023 22:355,62742,174,97917,005,0001,000,0002,342,912
9Feb 23, 2023 22:355,62945,308,00717,012,0001,000,0002,351,104
10Feb 23, 2023 22:355,71090,991,86718,272,42702,187,264
11Feb 23, 2023 22:355,77191,469,83918,465,85602,183,168
12Feb 23, 2023 22:355,79859,517,00218,554,98602,187,264