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 23:01Robert BurkeRobert BurkeScore: 4,783Success
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 23:014,74231,308,80213,150,0002,023,0002,281,472
2Jul 22, 2022 23:014,74237,147,63813,152,0002,023,0002,281,472
3Jul 22, 2022 23:014,74828,700,36813,169,0002,026,0002,453,504
4Jul 22, 2022 23:014,77035,050,56914,247,0001,017,0002,281,472
5Jul 22, 2022 23:014,77536,962,35514,263,0001,018,0002,281,472
6Jul 22, 2022 23:014,78132,517,38515,298,00002,281,472
7Jul 22, 2022 23:014,78336,808,84214,284,0001,020,0002,281,472
8Jul 22, 2022 23:014,78341,697,47914,287,0001,020,0002,281,472
9Jul 22, 2022 23:014,78430,610,90314,289,0001,020,0002,453,504
10Jul 22, 2022 23:015,00069,258,32716,000,26502,207,744
11Jul 22, 2022 23:015,00277,144,22916,005,98102,195,456
12Jul 22, 2022 23:015,03672,508,42816,114,75302,260,992