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 10, 2024 02:07Steve BronderSteve BronderScore: 5,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 02:075,66339,474,94717,117,0001,006,0002,293,760
2Apr 10, 2024 02:075,67444,695,95816,141,0002,017,0002,519,040
3Apr 10, 2024 02:075,69946,930,75316,211,0002,026,0002,510,848
4Apr 10, 2024 02:075,71040,895,98017,257,0001,015,0002,293,760
5Apr 10, 2024 02:075,71045,300,88516,243,0002,030,0002,293,760
6Apr 10, 2024 02:075,71551,289,58217,272,0001,016,0002,293,760
7Apr 10, 2024 02:075,71840,338,80217,282,0001,016,0002,293,760
8Apr 10, 2024 02:075,71940,837,19316,269,0002,033,0002,293,760
9Apr 10, 2024 02:075,73140,854,02118,338,00002,293,760
10Apr 10, 2024 02:075,91691,972,96518,929,88902,256,896
11Apr 10, 2024 02:075,91691,085,01018,932,10802,281,472
12Apr 10, 2024 02:075,93478,414,15618,989,02302,281,472