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 18:07Robert BurkeRobert BurkeScore: 4,433Success
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 18:074,41935,161,89512,120,0002,020,0002,281,472
2Apr 18, 2024 18:074,42231,179,98012,129,0002,021,0002,453,504
3Apr 18, 2024 18:074,42730,600,76812,142,0002,023,0002,281,472
4Apr 18, 2024 18:074,43037,747,73412,150,0002,025,0002,445,312
5Apr 18, 2024 18:074,43032,474,36512,152,0002,025,0002,281,472
6Apr 18, 2024 18:074,43129,508,77312,154,0002,025,0002,453,504
7Apr 18, 2024 18:074,43345,454,16012,158,0002,026,0002,445,312
8Apr 18, 2024 18:074,43334,364,66312,160,0002,026,0002,281,472
9Apr 18, 2024 18:074,44435,939,31312,190,0002,031,0002,453,504
10Apr 18, 2024 18:074,72390,578,89515,114,20402,203,648
11Apr 18, 2024 18:074,72687,424,40215,122,99602,211,840
12Apr 18, 2024 18:074,74468,567,56215,181,54502,207,744