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 00:10Alexander KimAlexander KimScore: 5,633Success
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 00:105,60043,388,90316,924,000995,0002,342,912
2Jan 3, 2023 00:105,60344,674,32415,938,0001,992,0002,437,120
3Jan 3, 2023 00:105,60547,306,63716,941,000996,0002,441,216
4Jan 3, 2023 00:105,61248,601,83116,961,000997,0002,342,912
5Jan 3, 2023 00:105,62743,345,68517,005,0001,000,0002,437,120
6Jan 3, 2023 00:105,63042,338,43317,015,0001,000,0002,437,120
7Jan 3, 2023 00:105,63340,868,19516,023,0002,002,0002,342,912
8Jan 3, 2023 00:105,64445,370,66516,055,0002,006,0002,334,720
9Jan 3, 2023 00:105,64845,432,65216,067,0002,008,0002,338,816
10Jan 3, 2023 00:105,71889,672,66318,297,47202,244,608
11Jan 3, 2023 00:105,78274,538,29518,503,78702,260,992
12Jan 3, 2023 00:105,79689,148,40018,546,55802,265,088