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 listNov 1, 2021 14:49Ilya AniskovetsIlya AniskovetsScore: 5,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:495,35148,688,62115,108,0002,014,0002,387,968
2Nov 1, 2021 14:495,35334,464,39315,113,0002,015,0002,265,088
3Nov 1, 2021 14:495,36534,449,43716,159,0001,009,0002,387,968
4Nov 1, 2021 14:495,37339,849,39616,182,0001,011,0002,265,088
5Nov 1, 2021 14:495,37347,032,37515,171,0002,022,0002,265,088
6Nov 1, 2021 14:495,38739,072,40716,225,0001,014,0002,392,064
7Nov 1, 2021 14:495,39447,166,90316,245,0001,015,0002,527,232
8Nov 1, 2021 14:495,39441,783,54315,231,0002,030,0002,519,040
9Nov 1, 2021 14:495,42746,759,69115,324,0002,043,0002,400,256
10Nov 1, 2021 14:495,51888,084,52617,658,92302,281,472
11Nov 1, 2021 14:495,54482,465,54917,742,21702,281,472
12Nov 1, 2021 14:495,56080,804,29617,790,92602,281,472