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 1, 2023 21:41Jack FrigaardJack FrigaardScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:415,48842,739,98616,529,0001,033,0002,273,280
2Jan 1, 2023 21:415,49742,047,85616,555,0001,034,0002,289,664
3Jan 1, 2023 21:415,50047,259,07017,600,00002,289,664
4Jan 1, 2023 21:415,50446,571,49016,576,0001,036,0002,289,664
5Jan 1, 2023 21:415,57644,754,39115,862,0001,982,0002,289,664
6Jan 1, 2023 21:415,57934,078,44415,871,0001,983,0002,273,280
7Jan 1, 2023 21:415,58247,473,40016,870,000992,0002,265,088
8Jan 1, 2023 21:415,58345,025,73016,875,000992,0002,289,664
9Jan 1, 2023 21:415,58850,605,18016,888,000993,0002,265,088
10Jan 1, 2023 21:415,88785,860,37518,839,04602,306,048
11Jan 1, 2023 21:415,95882,908,02619,064,70602,179,072
12Jan 1, 2023 21:416,08274,122,78819,463,26602,179,072