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 13, 2024 20:00джулисджулисScore: 5,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 20:005,21048,648,10316,672,00002,293,760
2Jun 13, 2024 20:005,21846,965,85516,697,00002,371,584
3Jun 13, 2024 20:005,22233,072,23916,710,00002,371,584
4Jun 13, 2024 20:005,22340,441,55115,670,0001,044,0002,367,488
5Jun 13, 2024 20:005,22642,949,36915,677,0001,045,0002,379,776
6Jun 13, 2024 20:005,24049,021,41216,768,00002,293,760
7Jun 13, 2024 20:005,25640,421,46315,831,000989,0002,367,488
8Jun 13, 2024 20:005,26441,213,63815,854,000990,0002,293,760
9Jun 13, 2024 20:005,26747,663,26315,864,000991,0002,293,760
10Jun 13, 2024 20:005,26938,549,64914,877,0001,983,0002,293,760
11Jun 13, 2024 20:005,26942,566,87714,877,0001,983,0002,383,872
12Jun 13, 2024 20:005,26937,591,61315,870,000991,0002,293,760
13Jun 13, 2024 20:005,26943,484,33914,879,0001,983,0002,375,680
14Jun 13, 2024 20:005,27332,750,49215,880,000992,0002,375,680
15Jun 13, 2024 20:005,27442,441,16114,891,0001,985,0002,293,760
16Jun 13, 2024 20:005,27548,777,24914,895,0001,986,0002,363,392
17Jun 13, 2024 20:005,27643,267,07015,890,000993,0002,293,760
18Jun 13, 2024 20:005,27643,229,91414,897,0001,986,0002,293,760
19Jun 13, 2024 20:005,45380,392,90717,450,38902,244,608
20Jun 13, 2024 20:005,47268,452,37917,510,85002,367,488
21Jun 13, 2024 20:005,48473,566,48117,549,34202,244,608
22Jun 13, 2024 20:005,496100,249,48617,585,98902,248,704
23Jun 13, 2024 20:005,49988,061,59017,597,15502,248,704
24Jun 13, 2024 20:005,50878,858,90317,625,43202,244,608