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 3, 2023 08:52Alexander KimAlexander KimScore: 5,616Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 08:525,58346,710,47116,872,000992,0002,342,912
2Jan 3, 2023 08:525,58534,216,57416,880,000992,0002,437,120
3Jan 3, 2023 08:525,58846,918,52116,890,000993,0002,342,912
4Jan 3, 2023 08:525,59142,711,73516,897,000993,0002,433,024
5Jan 3, 2023 08:525,60643,647,56115,945,0001,993,0002,342,912
6Jan 3, 2023 08:525,61532,634,86616,971,000998,0002,338,816
7Jan 3, 2023 08:525,61650,346,62915,974,0001,996,0002,334,720
8Jan 3, 2023 08:525,62443,230,78315,999,0001,999,0002,342,912
9Jan 3, 2023 08:525,63134,538,37016,018,0002,002,0002,514,944
10Jan 3, 2023 08:525,66295,639,37018,119,92802,256,896
11Jan 3, 2023 08:525,74889,626,00918,394,62902,252,800
12Jan 3, 2023 08:525,75272,713,34318,404,88002,244,608