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 listJul 22, 2022 21:48Robert BurkeRobert BurkeScore: 4,866Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:484,81942,521,92814,393,0001,028,0002,535,424
2Jul 22, 2022 21:484,82328,640,91515,434,00002,433,024
3Jul 22, 2022 21:484,82932,484,08215,452,00002,273,280
4Jul 22, 2022 21:484,83042,373,61615,455,00002,428,928
5Jul 22, 2022 21:484,84433,919,04015,502,00002,535,424
6Jul 22, 2022 21:484,86031,234,00414,515,0001,036,0002,535,424
7Jul 22, 2022 21:484,86635,744,02214,534,0001,038,0002,535,424
8Jul 22, 2022 21:484,87643,783,01214,563,0001,040,0002,273,280
9Jul 22, 2022 21:484,87632,729,00315,603,00002,514,944
10Jul 22, 2022 21:484,97463,761,62215,917,69502,179,072
11Jul 22, 2022 21:485,00079,316,50116,000,71002,252,800
12Jul 22, 2022 21:485,00174,522,07216,002,00702,187,264