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 listNov 7, 2023 21:41Anılcan GülkayaAnılcan GülkayaScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2023 21:415,44938,320,35116,412,0001,025,0002,265,088
2Nov 7, 2023 21:415,48849,796,69117,561,00002,396,160
3Nov 7, 2023 21:415,49038,804,45316,534,0001,033,0002,392,064
4Nov 7, 2023 21:415,50644,247,71416,582,0001,036,0002,265,088
5Nov 7, 2023 21:415,51744,776,02217,654,00002,383,872
6Nov 7, 2023 21:415,51843,415,29916,620,0001,038,0002,269,184
7Nov 7, 2023 21:415,52547,714,04716,641,0001,040,0002,392,064
8Nov 7, 2023 21:415,58344,648,53916,873,000992,0002,265,088
9Nov 7, 2023 21:415,58644,102,43115,889,0001,986,0002,265,088
10Nov 7, 2023 21:415,96184,806,61319,076,71502,281,472
11Nov 7, 2023 21:415,99878,200,31019,192,12502,277,376
12Nov 7, 2023 21:416,024101,269,64219,277,66302,273,280