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 23, 2024 23:45ii14ii14Score: 5,644Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 23:455,62035,521,28716,985,000999,0002,269,184
2Dec 23, 2024 23:455,62841,966,43816,010,0002,001,0002,383,872
3Dec 23, 2024 23:455,63743,775,46216,035,0002,004,0002,400,256
4Dec 23, 2024 23:455,63745,370,03516,035,0002,004,0002,387,968
5Dec 23, 2024 23:455,64435,535,74815,051,0003,010,0002,269,184
6Dec 23, 2024 23:455,64442,731,01217,058,0001,003,0002,269,184
7Dec 23, 2024 23:455,65145,115,40716,075,0002,009,0002,269,184
8Dec 23, 2024 23:455,65839,951,79716,095,0002,011,0002,269,184
9Dec 23, 2024 23:455,66539,004,65916,115,0002,014,0002,400,256