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 listJan 2, 2023 22:21Jack FrigaardJack FrigaardScore: 4,826Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:214,78731,344,53514,297,0001,021,0002,277,376
2Jan 2, 2023 22:214,78938,633,09013,281,0002,043,0002,379,776
3Jan 2, 2023 22:214,79834,101,30214,330,0001,023,0002,269,184
4Jan 2, 2023 22:214,79839,386,18114,331,0001,023,0002,289,664
5Jan 2, 2023 22:214,80531,114,10813,325,0002,050,0002,273,280
6Jan 2, 2023 22:214,81631,802,75214,385,0001,027,0002,523,136
7Jan 2, 2023 22:214,82632,689,08614,413,0001,029,0002,289,664
8Jan 2, 2023 22:214,82738,151,92913,386,0002,059,0002,289,664
9Jan 2, 2023 22:214,86332,743,75815,560,00002,265,088
10Jan 2, 2023 22:215,03987,391,73416,126,35402,293,760
11Jan 2, 2023 22:215,05787,970,66516,181,55902,293,760
12Jan 2, 2023 22:215,10581,822,02316,334,48002,301,952