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 listFeb 27, 2024 19:09Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,897Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 19:095,61579,006,53017,967,38702,293,760
2Feb 27, 2024 19:095,62475,528,32217,997,44102,293,760
3Feb 27, 2024 19:095,66077,094,66018,112,20602,293,760
4Feb 27, 2024 19:095,79638,897,39717,516,0001,030,0002,281,472
5Feb 27, 2024 19:095,89235,334,66817,863,000992,0002,396,160
6Feb 27, 2024 19:095,89347,229,63018,856,00002,281,472
7Feb 27, 2024 19:095,89744,997,37317,876,000993,0002,281,472
8Feb 27, 2024 19:095,89744,530,70117,877,000993,0002,281,472
9Feb 27, 2024 19:095,89750,018,86016,884,0001,986,0002,281,472
10Feb 27, 2024 19:095,90049,542,60318,881,00002,404,352
11Feb 27, 2024 19:095,90134,942,10717,889,000993,0002,281,472
12Feb 27, 2024 19:095,92343,722,06216,959,0001,995,0002,408,448