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 18, 2024 19:28Robert BurkeRobert BurkeScore: 4,429Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:284,39826,452,26712,062,0002,010,0002,277,376
2Apr 18, 2024 19:284,40736,940,08312,088,0002,014,0002,441,216
3Apr 18, 2024 19:284,40933,598,03012,095,0002,015,0002,281,472
4Apr 18, 2024 19:284,41734,842,43812,115,0002,019,0002,457,600
5Apr 18, 2024 19:284,41933,595,69312,121,0002,020,0002,441,216
6Apr 18, 2024 19:284,42635,219,64812,140,0002,023,0002,281,472
7Apr 18, 2024 19:284,42930,215,19712,148,0002,024,0002,281,472
8Apr 18, 2024 19:284,43129,600,35012,153,0002,025,0002,281,472
9Apr 18, 2024 19:284,43527,129,17612,165,0002,027,0002,281,472
10Apr 18, 2024 19:284,70995,419,47615,068,13702,203,648
11Apr 18, 2024 19:284,72268,452,71215,111,92602,203,648
12Apr 18, 2024 19:284,72482,239,53615,116,27102,199,552