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 2, 2023 21:27Alexander KimAlexander KimScore: 5,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:275,63040,212,31017,016,0001,000,0002,535,424
2Jan 2, 2023 21:275,64344,950,68817,056,0001,003,0002,535,424
3Jan 2, 2023 21:275,65148,241,39117,078,0001,004,0002,535,424
4Jan 2, 2023 21:275,65142,829,37517,080,0001,004,0002,334,720
5Jan 2, 2023 21:275,66248,272,52016,106,0002,013,0002,334,720
6Jan 2, 2023 21:275,66942,391,16316,125,0002,015,0002,334,720
7Jan 2, 2023 21:275,67242,606,03916,133,0002,016,0002,535,424
8Jan 2, 2023 21:275,67942,936,40517,163,0001,009,0002,281,472
9Jan 2, 2023 21:275,69232,386,39616,191,0002,023,0002,334,720
10Jan 2, 2023 21:275,70166,814,88218,243,44702,236,416
11Jan 2, 2023 21:275,73093,495,66418,337,11002,256,896
12Jan 2, 2023 21:275,73271,568,82318,343,35602,240,512