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 22, 2024 11:30matsuoka-601matsuoka-601Score: 5,491Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:305,46240,193,85916,449,0001,028,0002,273,280
2Jan 22, 2024 11:305,47137,584,71017,508,00002,293,760
3Jan 22, 2024 11:305,47833,767,87216,499,0001,031,0002,293,760
4Jan 22, 2024 11:305,48731,256,63716,526,0001,032,0002,293,760
5Jan 22, 2024 11:305,48838,134,75117,563,00002,277,376
6Jan 22, 2024 11:305,49143,884,93016,537,0001,033,0002,293,760
7Jan 22, 2024 11:305,49143,785,40817,571,00002,293,760
8Jan 22, 2024 11:305,50643,018,23316,584,0001,036,0002,293,760
9Jan 22, 2024 11:305,53143,376,32717,698,00002,293,760
10Jan 22, 2024 11:305,62270,503,45417,991,39102,183,168
11Jan 22, 2024 11:305,67881,417,44218,170,19602,179,072
12Jan 22, 2024 11:305,67987,264,90518,174,28402,179,072