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 listAug 7, 2024 03:37zielajzielajScore: 4,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 03:374,32830,421,36011,873,0001,978,0002,535,424
2Aug 7, 2024 03:354,33525,426,94711,891,0001,981,0002,531,328
3Aug 7, 2024 03:354,33638,703,87411,894,0001,982,0002,535,424
4Aug 7, 2024 03:374,33731,674,34312,886,000991,0002,535,424
5Aug 7, 2024 03:374,33843,873,86711,898,0001,983,0002,535,424
6Aug 7, 2024 03:354,33830,714,30112,889,000991,0002,535,424
7Aug 7, 2024 03:354,33827,003,53511,899,0001,983,0002,273,280
8Aug 7, 2024 03:354,33930,021,96411,901,0001,983,0002,453,504
9Aug 7, 2024 03:374,33945,376,41511,901,0001,983,0002,273,280
10Aug 7, 2024 03:374,33932,255,91811,903,0001,983,0002,437,120
11Aug 7, 2024 03:354,33936,643,70412,895,000991,0002,449,408
12Aug 7, 2024 03:354,34041,489,48011,904,0001,984,0002,535,424
13Aug 7, 2024 03:354,34030,594,79111,904,0001,984,0002,273,280
14Aug 7, 2024 03:374,34129,695,37211,907,0001,984,0002,445,312
15Aug 7, 2024 03:374,34229,464,61811,910,0001,985,0002,441,216
16Aug 7, 2024 03:374,34335,534,02113,897,00002,449,408
17Aug 7, 2024 03:354,34629,559,63011,920,0001,986,0002,273,280
18Aug 7, 2024 03:374,34731,862,89612,841,0001,070,0002,453,504
19Aug 7, 2024 03:374,57790,239,46314,647,93802,207,744
20Aug 7, 2024 03:354,57981,331,22414,653,80202,203,648
21Aug 7, 2024 03:354,60662,401,42014,738,16302,338,816
22Aug 7, 2024 03:374,60761,894,92714,743,72202,338,816
23Aug 7, 2024 03:354,60988,761,68014,750,39602,199,552
24Aug 7, 2024 03:374,621119,429,64214,785,67202,203,648