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 listMay 21, 2021 16:38Dmitry DolgopolovDmitry DolgopolovScore: 5,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 16:385,29433,845,20714,948,0001,993,0002,387,968
2May 21, 2021 16:385,29834,554,06515,958,000997,0002,265,088
3May 21, 2021 16:385,29938,837,51615,960,000997,0002,269,184
4May 21, 2021 16:385,29939,021,36315,960,000997,0002,392,064
5May 21, 2021 16:385,30049,464,83814,965,0001,995,0002,265,088
6May 21, 2021 16:385,30142,307,74614,969,0001,995,0002,506,752
7May 21, 2021 16:385,30336,731,20814,975,0001,996,0002,383,872
8May 21, 2021 16:385,31134,267,22314,995,0001,999,0002,265,088
9May 21, 2021 16:385,34544,032,64315,092,0002,012,0002,465,792
10May 21, 2021 16:385,93088,936,79018,977,33602,281,472
11May 21, 2021 16:385,97477,324,07019,115,25402,281,472
12May 21, 2021 16:385,98690,858,95819,156,09702,277,376
13May 21, 2021 16:386,03480,252,78619,308,75202,281,472
14May 21, 2021 16:386,04198,974,53119,332,63302,277,376
15May 21, 2021 16:386,04372,395,80119,337,99302,281,472