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 14:47Jack FrigaardJack FrigaardScore: 5,480Success
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 14:475,43639,677,03815,348,0002,046,0002,285,568
2Jan 2, 2023 14:475,44334,474,86717,417,00002,535,424
3Jan 2, 2023 14:475,44935,365,99817,438,00002,531,328
4Jan 2, 2023 14:475,45332,866,19316,424,0001,026,0002,277,376
5Jan 2, 2023 14:475,45834,852,88616,440,0001,027,0002,285,568
6Jan 2, 2023 14:475,47844,266,77316,497,0001,031,0002,285,568
7Jan 2, 2023 14:475,48038,723,31516,506,0001,031,0002,285,568
8Jan 2, 2023 14:475,49039,970,77316,534,0001,033,0002,273,280
9Jan 2, 2023 14:475,49242,652,27216,540,0001,033,0002,269,184
10Jan 2, 2023 14:475,68684,913,99518,193,70702,179,072
11Jan 2, 2023 14:475,68978,529,74318,204,92302,297,856
12Jan 2, 2023 14:475,69861,333,25818,233,02302,293,760