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 15, 2024 14:18matsuoka-601matsuoka-601Score: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:185,46838,420,00417,496,00002,523,136
2Jan 15, 2024 14:185,47540,009,13416,491,0001,030,0002,285,568
3Jan 15, 2024 14:185,47641,299,36716,492,0001,030,0002,285,568
4Jan 15, 2024 14:185,49643,660,25117,588,00002,375,680
5Jan 15, 2024 14:185,50040,445,65116,565,0001,035,0002,523,136
6Jan 15, 2024 14:185,50138,260,80516,567,0001,035,0002,285,568
7Jan 15, 2024 14:185,50545,931,75216,579,0001,036,0002,285,568
8Jan 15, 2024 14:185,50843,053,03716,589,0001,036,0002,285,568
9Jan 15, 2024 14:185,57544,252,11816,849,000991,0002,273,280
10Jan 15, 2024 14:185,63081,233,82418,014,71102,297,856
11Jan 15, 2024 14:185,64357,825,35918,058,53902,179,072
12Jan 15, 2024 14:185,65391,727,19718,088,18202,252,800