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 18, 2024 14:26Matt StuchlikMatt StuchlikScore: 5,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 14:265,30339,361,13415,972,000998,0002,531,328
2Jul 18, 2024 14:265,31638,341,52915,010,0002,001,0002,289,664
3Jul 18, 2024 14:265,31840,015,74015,016,0002,002,0002,281,472
4Jul 18, 2024 14:265,32433,037,46216,036,0001,002,0002,289,664
5Jul 18, 2024 14:265,32839,866,16315,044,0002,005,0002,289,664
6Jul 18, 2024 14:265,32941,620,56215,046,0002,006,0002,265,088
7Jul 18, 2024 14:265,33644,620,39215,066,0002,008,0002,265,088
8Jul 18, 2024 14:265,34139,496,21715,081,0002,010,0002,387,968
9Jul 18, 2024 14:265,35445,004,48217,133,00002,289,664
10Jul 18, 2024 14:265,57882,899,05117,848,12702,297,856
11Jul 18, 2024 14:265,605108,705,43817,936,93902,256,896
12Jul 18, 2024 14:265,60980,572,44417,948,33602,301,952