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 listApr 1, 2024 13:45Drew GarciaDrew GarciaScore: 5,802Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 13:455,79041,016,29518,527,00002,281,472
2Apr 1, 2024 13:455,79043,671,95418,528,00002,281,472
3Apr 1, 2024 13:455,79441,641,12917,510,0001,030,0002,277,376
4Apr 1, 2024 13:455,79445,825,97317,512,0001,030,0002,387,968
5Apr 1, 2024 13:455,79546,181,25518,543,00002,289,664
6Apr 1, 2024 13:455,79839,460,60718,554,00002,277,376
7Apr 1, 2024 13:455,80244,680,55917,536,0001,031,0002,269,184
8Apr 1, 2024 13:455,81944,042,14816,552,0002,069,0002,281,472
9Apr 1, 2024 13:455,82047,659,97817,589,0001,034,0002,281,472
10Apr 1, 2024 13:456,07193,366,68919,428,50502,179,072
11Apr 1, 2024 13:456,07293,155,71119,429,84402,179,072
12Apr 1, 2024 13:456,08490,199,02419,467,85702,301,952