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 15, 2024 09:52CalCalScore: 5,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 09:525,46637,477,93217,491,00002,273,280
2Jan 15, 2024 09:525,47339,102,21617,513,00002,281,472
3Jan 15, 2024 09:525,47747,731,89316,496,0001,031,0002,277,376
4Jan 15, 2024 09:525,48641,474,59816,523,0001,032,0002,293,760
5Jan 15, 2024 09:525,48945,471,23116,533,0001,033,0002,273,280
6Jan 15, 2024 09:525,49640,556,69916,554,0001,034,0002,293,760
7Jan 15, 2024 09:525,49741,089,06116,555,0001,034,0002,293,760
8Jan 15, 2024 09:525,51647,351,39816,614,0001,038,0002,293,760
9Jan 15, 2024 09:525,53846,296,00116,680,0001,042,0002,293,760
10Jan 15, 2024 09:525,63659,666,96518,036,15202,183,168
11Jan 15, 2024 09:525,64880,288,43618,072,23802,187,264
12Jan 15, 2024 09:525,673105,868,63018,152,65102,174,976