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 listJun 3, 2021 21:02Yuriy LyfenkoYuriy LyfenkoScore: 5,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 21:024,980542,917,28313,944,0001,992,0002,273,280
2Jun 3, 2021 21:024,983541,451,33013,953,0001,993,0002,281,472
3Jun 3, 2021 21:024,997537,130,31213,992,0001,998,0002,281,472
4Jun 3, 2021 21:025,004538,901,68114,012,0002,001,0002,273,280
5Jun 3, 2021 21:025,009539,698,10315,028,0001,001,0002,273,280
6Jun 3, 2021 21:025,016537,740,49214,045,0002,006,0002,400,256
7Jun 3, 2021 21:025,023539,077,06515,070,0001,004,0002,273,280
8Jun 3, 2021 21:025,028541,323,03314,077,0002,011,0002,281,472
9Jun 3, 2021 21:025,043541,747,87814,122,0002,017,0002,281,472
10Jun 3, 2021 21:025,136589,423,65716,434,66602,252,800
11Jun 3, 2021 21:025,153570,749,70216,490,66102,281,472
12Jun 3, 2021 21:025,177572,443,55316,567,54202,252,800