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 04:21Yuriy LyfenkoYuriy LyfenkoScore: 7,151Success
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 04:215,86186,127,79818,755,21202,285,568
2Apr 22, 2024 04:215,89471,123,50618,859,89802,289,664
3Apr 22, 2024 04:215,95686,082,07819,058,63502,289,664
4Apr 22, 2024 04:216,90445,484,97721,090,0001,004,0002,473,984
5Apr 22, 2024 04:216,98847,203,10119,312,0003,049,0002,293,760
6Apr 22, 2024 04:217,06346,726,19021,526,0001,076,0002,457,600
7Apr 22, 2024 04:217,15150,867,13920,894,0001,989,0002,469,888
8Apr 22, 2024 04:217,17952,922,44319,976,0002,996,0002,301,952
9Apr 22, 2024 04:217,18648,982,16819,997,0002,999,0002,297,856
10Apr 22, 2024 04:217,18949,176,01921,005,0002,000,0002,449,408
11Apr 22, 2024 04:217,21454,807,27122,082,0001,003,0002,297,856
12Apr 22, 2024 04:217,23250,124,31220,123,0003,018,0002,469,888