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 listJun 30, 2024 17:56AnSaAnSaScore: 5,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:565,63739,878,35817,035,0001,002,0002,531,328
2Jun 30, 2024 17:565,63734,874,16117,037,0001,002,0002,531,328
3Jun 30, 2024 17:565,64639,188,18117,064,0001,003,0002,531,328
4Jun 30, 2024 17:565,65541,911,82817,092,0001,005,0002,498,560
5Jun 30, 2024 17:565,65631,008,84717,095,0001,005,0002,502,656
6Jun 30, 2024 17:565,66638,822,73316,118,0002,014,0002,498,560
7Jun 30, 2024 17:565,68335,723,04015,154,0003,030,0002,269,184
8Jun 30, 2024 17:565,68738,771,59117,187,0001,011,0002,269,184
9Jun 30, 2024 17:565,69743,859,94917,218,0001,012,0002,269,184
10Jun 30, 2024 17:565,90466,805,55618,891,39002,240,512
11Jun 30, 2024 17:565,90490,134,38818,893,43002,244,608
12Jun 30, 2024 17:565,935109,441,36118,993,42602,248,704