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 listJan 9, 2023 18:15Victor MuñozVictor MuñozScore: 5,637Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2023 18:155,58939,184,22816,892,000993,0002,269,184
2Jan 9, 2023 18:155,59043,970,45615,901,0001,987,0002,269,184
3Jan 9, 2023 18:155,60349,844,35815,936,0001,992,0002,387,968
4Jan 9, 2023 18:155,61143,929,51616,957,000997,0002,387,968
5Jan 9, 2023 18:155,63045,383,55117,015,0001,000,0002,269,184
6Jan 9, 2023 18:155,63249,872,27816,021,0002,002,0002,269,184
7Jan 9, 2023 18:155,63745,817,54816,033,0002,004,0002,392,064
8Jan 9, 2023 18:155,65048,796,09917,077,0001,004,0002,269,184
9Jan 9, 2023 18:155,66046,694,84817,105,0001,006,0002,269,184
10Jan 9, 2023 18:155,83665,679,27318,675,45202,273,280
11Jan 9, 2023 18:155,85897,864,97518,744,28002,281,472
12Jan 9, 2023 18:155,87866,039,36118,809,97202,281,472