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 24, 2022 11:34Robert BurkeRobert BurkeScore: 4,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:344,46736,969,15113,273,0001,021,0002,281,472
2Jul 24, 2022 11:344,47028,922,90613,283,0001,021,0002,281,472
3Jul 24, 2022 11:344,47540,257,42913,298,0001,022,0002,281,472
4Jul 24, 2022 11:344,47933,030,94014,333,00002,277,376
5Jul 24, 2022 11:344,48134,206,82113,314,0001,024,0002,281,472
6Jul 24, 2022 11:344,48136,881,62913,315,0001,024,0002,449,408
7Jul 24, 2022 11:344,48738,016,00313,332,0001,025,0002,281,472
8Jul 24, 2022 11:344,48935,427,93513,338,0001,026,0002,445,312
9Jul 24, 2022 11:344,49029,757,69713,341,0001,026,0002,281,472
10Jul 24, 2022 11:344,72281,820,53515,109,69802,203,648
11Jul 24, 2022 11:344,73586,586,73415,150,70202,211,840
12Jul 24, 2022 11:344,76790,540,22015,255,84402,211,840