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 5, 2024 04:36MylesMylesScore: 4,542Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 13:574,50931,020,20713,398,0001,030,0002,449,408
2Aug 5, 2024 04:364,51730,893,17813,421,0001,032,0002,457,600
3Aug 4, 2024 13:574,52727,598,68113,452,0001,034,0002,281,472
4Aug 5, 2024 04:364,52827,734,14613,456,0001,035,0002,437,120
5Aug 5, 2024 04:364,52931,583,64813,459,0001,035,0002,281,472
6Aug 5, 2024 04:364,53328,421,40713,468,0001,036,0002,441,216
7Aug 4, 2024 13:574,53330,694,02813,471,0001,036,0002,449,408
8Aug 4, 2024 13:574,53340,825,06413,469,0001,036,0002,281,472
9Aug 4, 2024 13:574,53528,747,72013,477,0001,036,0002,453,504
10Aug 4, 2024 13:574,53831,054,73313,486,0001,037,0002,449,408
11Aug 5, 2024 04:364,53829,908,86213,484,0001,037,0002,449,408
12Aug 4, 2024 13:574,54131,169,31813,494,0001,038,0002,445,312
13Aug 4, 2024 13:574,54232,449,57313,495,0001,038,0002,441,216
14Aug 4, 2024 13:574,54438,216,71713,504,0001,038,0002,281,472
15Aug 5, 2024 04:364,54532,548,14314,544,00002,453,504
16Aug 5, 2024 04:364,54527,780,74813,505,0001,038,0002,281,472
17Aug 5, 2024 04:364,54635,088,54213,507,0001,039,0002,281,472
18Aug 5, 2024 04:364,54734,762,35213,511,0001,039,0002,281,472
19Aug 4, 2024 13:574,81273,592,14115,397,35202,211,840
20Aug 5, 2024 04:364,81582,755,49015,406,80402,215,936
21Aug 5, 2024 04:364,82585,851,81115,439,67002,203,648
22Aug 4, 2024 13:574,82658,195,63815,443,04602,260,992
23Aug 5, 2024 04:364,82785,499,53415,447,68302,330,624
24Aug 4, 2024 13:574,82781,734,15515,446,50502,207,744