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 17:21emily graceemily graceScore: 5,472Success
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 17:215,42983,325,37117,372,50002,269,184
2Apr 10, 2024 17:215,44176,307,54417,411,01802,273,280
3Apr 10, 2024 17:385,44488,752,78517,421,76802,269,184
4Apr 10, 2024 17:215,44573,725,33917,423,33602,248,704
5Apr 10, 2024 17:395,44781,870,38117,429,04902,256,896
6Apr 10, 2024 17:215,46153,401,00117,474,12302,265,088
7Apr 10, 2024 17:215,47089,334,64517,502,52102,260,992
8Apr 10, 2024 17:215,47290,538,41317,511,59402,277,376
9Apr 10, 2024 17:385,47265,458,98217,509,32502,265,088
10Apr 10, 2024 17:215,48186,344,95217,538,36302,265,088
11Apr 10, 2024 17:395,48696,609,73817,556,22502,248,704
12Apr 10, 2024 17:215,48798,397,10817,559,75002,260,992
13Apr 10, 2024 17:385,50563,295,72217,616,40502,265,088
14Apr 10, 2024 17:395,51092,705,60117,631,69602,260,992
15Apr 10, 2024 17:215,51976,015,76617,661,20902,260,992