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 22, 2022 23:19Robert BurkeRobert BurkeScore: 4,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:194,68733,349,30012,998,0001,999,0002,281,472
2Jul 22, 2022 23:194,70635,661,53813,051,0002,007,0002,281,472
3Jul 22, 2022 23:194,71039,190,49713,062,0002,009,0002,281,472
4Jul 22, 2022 23:194,71331,547,12413,071,0002,011,0002,281,472
5Jul 22, 2022 23:194,73442,021,57213,130,0002,020,0002,281,472
6Jul 22, 2022 23:194,73733,297,25113,137,0002,021,0002,453,504
7Jul 22, 2022 23:194,73732,255,67813,138,0002,021,0002,281,472
8Jul 22, 2022 23:194,73833,423,29413,139,0002,021,0002,437,120
9Jul 22, 2022 23:194,74839,247,52115,193,00002,281,472
10Jul 22, 2022 23:194,90780,973,66015,701,28402,195,456
11Jul 22, 2022 23:194,91157,184,94815,716,65402,199,552
12Jul 22, 2022 23:194,95685,558,85615,860,76902,203,648