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 09:53CalCalScore: 5,609Success
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 09:535,58344,238,00417,867,00002,408,448
2Jan 15, 2024 09:535,58936,357,21516,892,000993,0002,400,256
3Jan 15, 2024 09:535,59244,736,82916,900,000994,0002,281,472
4Jan 15, 2024 09:535,59348,533,86915,909,0001,988,0002,281,472
5Jan 15, 2024 09:535,60039,855,10115,930,0001,991,0002,281,472
6Jan 15, 2024 09:535,60536,508,10016,941,000996,0002,404,352
7Jan 15, 2024 09:535,60940,207,43915,955,0001,994,0002,281,472
8Jan 15, 2024 09:535,61238,933,69815,962,0001,995,0002,260,992
9Jan 15, 2024 09:535,61545,077,67816,970,000998,0002,396,160
10Jan 15, 2024 09:535,66590,993,02818,127,12102,301,952
11Jan 15, 2024 09:535,76383,172,77218,440,06902,252,800
12Jan 15, 2024 09:535,82387,522,96918,632,67202,285,568