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 listDec 21, 2024 09:32LaihoLaihoScore: 14,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 09:3214,03373,660,9726,985,00037,920,0002,363,392
2Dec 21, 2024 09:3214,06675,457,57810,002,00035,008,0002,367,488
3Dec 21, 2024 09:3214,09067,941,88212,023,00033,065,0002,363,392
4Dec 21, 2024 09:3214,13269,003,98016,079,00029,143,0002,285,568
5Dec 21, 2024 09:3214,14968,939,26721,129,00024,147,0002,363,392
6Dec 21, 2024 09:3214,15270,031,1999,057,00036,230,0002,453,504
7Dec 21, 2024 09:3214,16468,863,64514,101,00031,224,0002,285,568
8Dec 21, 2024 09:3214,20064,595,88115,146,00030,293,0002,359,296
9Dec 21, 2024 09:3214,26375,751,52514,199,00031,441,0002,371,584