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 9, 2024 21:35джулисджулисScore: 5,339Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:355,27533,687,99114,894,0001,985,0002,293,760
2Jun 9, 2024 21:355,29834,557,66115,958,000997,0002,289,664
3Jun 9, 2024 21:355,30144,557,81914,968,0001,995,0002,293,760
4Jun 9, 2024 21:355,30844,846,63015,986,000999,0002,293,760
5Jun 9, 2024 21:355,31543,957,48416,009,0001,000,0002,293,760
6Jun 9, 2024 21:355,32844,292,71316,047,0001,002,0002,363,392
7Jun 9, 2024 21:355,33941,958,97217,086,00002,367,488
8Jun 9, 2024 21:355,34650,743,84815,095,0002,012,0002,293,760
9Jun 9, 2024 21:355,35940,574,88016,142,0001,008,0002,293,760
10Jun 9, 2024 21:355,51195,762,16817,636,22402,248,704
11Jun 9, 2024 21:355,59078,210,74217,888,95102,252,800
12Jun 9, 2024 21:355,61176,670,89017,955,42702,256,896