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 24, 2024 15:48AnSaAnSaScore: 5,312Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 15:485,28542,644,96315,918,000994,0002,396,160
2Jan 24, 2024 15:485,28639,415,26016,916,00002,392,064
3Jan 24, 2024 15:485,28742,093,97715,922,000995,0002,277,376
4Jan 24, 2024 15:485,29236,997,09615,939,000996,0002,396,160
5Jan 24, 2024 15:485,29538,089,54315,947,000996,0002,396,160
6Jan 24, 2024 15:485,31041,956,72314,993,0001,999,0002,392,064
7Jan 24, 2024 15:485,31243,539,70614,998,0001,999,0002,392,064
8Jan 24, 2024 15:485,31446,785,76316,006,0001,000,0002,277,376
9Jan 24, 2024 15:485,32240,308,08116,030,0001,001,0002,506,752
10Jan 24, 2024 15:485,51490,849,84717,645,25402,285,568
11Jan 24, 2024 15:485,52174,499,37017,665,69802,281,472
12Jan 24, 2024 15:485,53977,545,10317,723,27502,277,376