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:34Ilya AniskovetsIlya AniskovetsScore: 5,648Success
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:345,59339,785,44916,903,000994,0002,265,088
2Nov 1, 2021 14:345,62644,797,39416,002,0002,000,0002,265,088
3Nov 1, 2021 14:345,63041,826,46317,015,0001,000,0002,281,472
4Nov 1, 2021 14:345,63441,340,92516,026,0002,003,0002,289,664
5Nov 1, 2021 14:345,64640,243,39016,061,0002,007,0002,277,376
6Nov 1, 2021 14:345,64847,392,61416,064,0002,008,0002,289,664
7Nov 1, 2021 14:345,64845,998,42916,066,0002,008,0002,273,280
8Nov 1, 2021 14:345,65238,156,55416,078,0002,009,0002,289,664
9Nov 1, 2021 14:345,66042,003,54217,105,0001,006,0002,289,664
10Nov 1, 2021 14:345,76491,957,36318,444,47802,179,072
11Nov 1, 2021 14:345,78797,491,30418,518,90902,297,856
12Nov 1, 2021 14:345,79278,607,33618,535,94902,174,976