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 listApr 22, 2024 03:18Yuriy LyfenkoYuriy LyfenkoScore: 7,140Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 03:185,82883,580,82618,649,45402,260,992
2Apr 22, 2024 03:185,89281,578,88918,853,29202,269,184
3Apr 22, 2024 03:185,92583,924,14418,960,41202,277,376
4Apr 22, 2024 03:186,83249,370,63719,876,0001,987,0002,445,312
5Apr 22, 2024 03:186,87747,680,62119,005,0003,000,0002,543,616
6Apr 22, 2024 03:187,09338,959,01520,636,0002,063,0002,539,520
7Apr 22, 2024 03:187,14047,748,75720,863,0001,986,0002,445,312
8Apr 22, 2024 03:187,14654,273,82619,884,0002,982,0002,535,424
9Apr 22, 2024 03:187,15055,723,20419,896,0002,984,0002,539,520
10Apr 22, 2024 03:187,17449,499,42220,960,0001,996,0002,437,120
11Apr 22, 2024 03:187,19849,872,03820,028,0003,004,0002,437,120
12Apr 22, 2024 03:1814,82972,932,30744,424,0003,028,0002,437,120