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 27, 2022 11:46Robert BurkeRobert BurkeScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 11:464,41935,698,92912,121,0002,020,0002,281,472
2Jul 27, 2022 11:464,43138,686,76712,155,0002,025,0002,453,504
3Jul 27, 2022 11:464,44327,912,92012,186,0002,031,0002,281,472
4Jul 27, 2022 11:464,44627,473,73812,196,0002,032,0002,453,504
5Jul 27, 2022 11:464,44835,928,91512,202,0002,033,0002,281,472
6Jul 27, 2022 11:464,45130,536,44812,209,0002,034,0002,449,408
7Jul 27, 2022 11:464,45332,910,18012,215,0002,035,0002,281,472
8Jul 27, 2022 11:464,49534,113,98413,356,0001,027,0002,449,408
9Jul 27, 2022 11:464,50036,592,87414,399,00002,281,472
10Jul 27, 2022 11:464,68559,067,25614,991,22402,211,840
11Jul 27, 2022 11:464,69479,608,21115,022,37202,203,648
12Jul 27, 2022 11:464,70886,708,95515,066,19102,199,552