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:35matsuoka-601matsuoka-601Score: 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 22, 2024 11:355,43832,936,34917,401,00002,293,760
2Jan 22, 2024 11:355,46135,005,21716,448,0001,028,0002,277,376
3Jan 22, 2024 11:355,46338,842,43516,453,0001,028,0002,293,760
4Jan 22, 2024 11:355,47933,934,20316,501,0001,031,0002,293,760
5Jan 22, 2024 11:355,49339,055,12716,545,0001,034,0002,277,376
6Jan 22, 2024 11:355,49542,828,21516,551,0001,034,0002,277,376
7Jan 22, 2024 11:355,49741,939,48316,557,0001,034,0002,293,760
8Jan 22, 2024 11:355,51849,036,54316,619,0001,038,0002,293,760
9Jan 22, 2024 11:355,52646,967,99016,643,0001,040,0002,273,280
10Jan 22, 2024 11:355,61976,714,62117,979,96202,179,072
11Jan 22, 2024 11:355,63272,712,67718,023,97602,306,048
12Jan 22, 2024 11:355,63586,811,97418,032,66602,183,168