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 11, 2023 18:22Victor MuñozVictor MuñozScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2023 18:225,31440,122,81215,004,0002,000,0002,260,992
2Jan 11, 2023 18:225,31949,309,53216,019,0001,001,0002,392,064
3Jan 11, 2023 18:225,32533,898,26316,038,0001,002,0002,527,232
4Jan 11, 2023 18:225,32541,378,80516,038,0001,002,0002,265,088
5Jan 11, 2023 18:225,32837,161,50716,046,0001,002,0002,383,872
6Jan 11, 2023 18:225,32933,008,47016,050,0001,003,0002,265,088
7Jan 11, 2023 18:225,33842,920,99415,072,0002,009,0002,265,088
8Jan 11, 2023 18:225,35143,172,96715,110,0002,014,0002,392,064
9Jan 11, 2023 18:225,37150,768,01015,165,0002,022,0002,387,968
10Jan 11, 2023 18:225,51076,635,69217,631,14202,281,472
11Jan 11, 2023 18:225,52192,471,98217,667,51802,273,280
12Jan 11, 2023 18:225,54291,261,42517,733,59302,285,568