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 listDec 28, 2024 22:55korey-skorey-sScore: 21,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2024 22:5521,83599,595,12767,877,0001,996,0002,289,664
2Dec 28, 2024 22:5521,84096,878,48468,891,000998,0002,363,392
3Dec 28, 2024 22:5521,84197,127,95167,894,0001,996,0002,289,664
4Dec 28, 2024 22:5521,84696,498,73068,908,000998,0002,367,488
5Dec 28, 2024 22:5521,85395,367,76667,931,0001,997,0002,363,392
6Dec 28, 2024 22:5521,85395,587,51167,932,0001,998,0002,375,680
7Dec 28, 2024 22:5521,853100,520,21868,931,000999,0002,289,664
8Dec 28, 2024 22:5521,86894,649,34667,978,0001,999,0002,371,584
9Dec 28, 2024 22:5521,869100,227,03468,982,000999,0002,371,584