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 09:55Alexander KimAlexander KimScore: 5,619Success
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 09:555,58436,583,26216,877,000992,0002,334,720
2Jan 3, 2023 09:555,58643,075,31716,882,000993,0002,347,008
3Jan 3, 2023 09:555,58837,412,41316,889,000993,0002,433,024
4Jan 3, 2023 09:555,58835,981,70716,890,000993,0002,437,120
5Jan 3, 2023 09:555,59238,061,93815,906,0001,988,0002,441,216
6Jan 3, 2023 09:555,61740,894,77516,975,000998,0002,342,912
7Jan 3, 2023 09:555,61944,998,29115,984,0001,998,0002,342,912
8Jan 3, 2023 09:555,62044,978,64216,985,000999,0002,342,912
9Jan 3, 2023 09:555,63443,403,95516,026,0002,003,0002,510,848
10Jan 3, 2023 09:555,71476,855,04918,285,79202,256,896
11Jan 3, 2023 09:555,74081,929,85318,366,90602,256,896
12Jan 3, 2023 09:555,74195,650,63718,371,57302,244,608