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 listFeb 28, 2023 19:18DarkclainerDarkclainerScore: 4,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2023 19:184,78230,038,25013,262,0002,040,0002,375,680
2Feb 28, 2023 19:184,78734,627,00613,275,0002,042,0002,387,968
3Feb 28, 2023 19:184,79140,217,89914,309,0001,022,0002,265,088
4Feb 28, 2023 19:184,80834,500,92114,359,0001,025,0002,269,184
5Feb 28, 2023 19:184,81735,789,69815,414,00002,269,184
6Feb 28, 2023 19:184,82535,378,37814,410,0001,029,0002,531,328
7Feb 28, 2023 19:184,82537,946,49814,412,0001,029,0002,383,872
8Feb 28, 2023 19:184,83043,102,37515,455,00002,269,184
9Feb 28, 2023 19:184,85736,536,14914,506,0001,036,0002,473,984
10Feb 28, 2023 19:185,04677,279,17716,146,69602,244,608
11Feb 28, 2023 19:185,05770,046,29216,181,89302,244,608
12Feb 28, 2023 19:185,06795,384,57516,213,87702,240,512