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 listDec 6, 2023 11:37Viktor IarmolaViktor IarmolaScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 11:375,53648,562,62216,674,0001,042,0002,404,352
2Dec 6, 2023 11:375,53941,164,35315,755,0001,969,0002,281,472
3Dec 6, 2023 11:375,54648,171,90017,748,00002,281,472
4Dec 6, 2023 11:375,58035,156,40316,865,000992,0002,281,472
5Dec 6, 2023 11:375,58145,000,99815,876,0001,984,0002,281,472
6Dec 6, 2023 11:375,58346,258,95716,874,000992,0002,281,472
7Dec 6, 2023 11:375,58652,140,88516,882,000993,0002,281,472
8Dec 6, 2023 11:375,58847,063,92715,896,0001,987,0002,281,472
9Dec 6, 2023 11:375,58950,365,36716,891,000993,0002,281,472
10Dec 6, 2023 11:375,92184,833,65618,947,12502,293,760
11Dec 6, 2023 11:375,94093,860,13119,007,99702,289,664
12Dec 6, 2023 11:375,98170,877,98519,137,88602,293,760