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 8, 2024 19:04джулисджулисScore: 5,740Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:045,68942,579,45917,194,0001,011,0002,375,680
2Jun 8, 2024 19:045,69245,981,43016,190,0002,023,0002,375,680
3Jun 8, 2024 19:045,69442,578,54717,209,0001,012,0002,375,680
4Jun 8, 2024 19:045,69938,887,53217,224,0001,013,0002,293,760
5Jun 8, 2024 19:045,72234,702,63317,294,0001,017,0002,293,760
6Jun 8, 2024 19:045,72544,325,41318,321,00002,473,984
7Jun 8, 2024 19:045,74040,426,43917,348,0001,020,0002,371,584
8Jun 8, 2024 19:045,74740,413,08917,369,0001,021,0002,465,792
9Jun 8, 2024 19:045,75340,100,03617,387,0001,022,0002,293,760
10Jun 8, 2024 19:045,92091,163,60218,943,45402,252,800
11Jun 8, 2024 19:045,94492,373,68019,021,13002,240,512
12Jun 8, 2024 19:045,963113,549,92719,081,56002,232,320