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 listJul 28, 2024 14:49Liam BuchananLiam BuchananScore: 5,789Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 14:495,72538,546,92616,284,0002,035,0002,269,184
2Jul 28, 2024 14:495,73848,639,68818,363,00002,289,664
3Jul 28, 2024 14:495,74243,365,79517,354,0001,020,0002,269,184
4Jul 28, 2024 14:495,75142,733,88118,403,00002,273,280
5Jul 28, 2024 14:495,75541,511,80516,370,0002,046,0002,289,664
6Jul 28, 2024 14:495,76740,844,13017,429,0001,025,0002,289,664
7Jul 28, 2024 14:495,78936,985,94917,496,0001,029,0002,289,664
8Jul 28, 2024 14:495,81036,645,06317,559,0001,032,0002,289,664
9Jul 28, 2024 14:495,81440,651,54317,572,0001,033,0002,359,296
10Jul 28, 2024 14:495,98481,497,27019,147,30902,314,240
11Jul 28, 2024 14:495,996111,149,30219,188,38102,174,976
12Jul 28, 2024 14:496,02395,647,45919,273,49102,306,048