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 11:31zielajzielajScore: 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 11:334,32630,427,38012,856,000988,0002,445,312
2Aug 7, 2024 11:314,33230,979,98411,883,0001,980,0002,535,424
3Aug 7, 2024 11:334,33332,087,21511,885,0001,980,0002,449,408
4Aug 7, 2024 11:334,33430,342,29411,887,0001,981,0002,535,424
5Aug 7, 2024 11:334,33438,917,89712,880,000990,0002,273,280
6Aug 7, 2024 11:314,33632,026,80012,885,000991,0002,441,216
7Aug 7, 2024 11:314,33632,296,64711,894,0001,982,0002,535,424
8Aug 7, 2024 11:314,33633,195,95011,893,0001,982,0002,535,424
9Aug 7, 2024 11:334,33730,945,52611,896,0001,982,0002,449,408
10Aug 7, 2024 11:314,33831,586,62511,898,0001,983,0002,445,312
11Aug 7, 2024 11:314,33828,159,85812,889,000991,0002,535,424
12Aug 7, 2024 11:334,33928,001,35711,901,0001,983,0002,535,424
13Aug 7, 2024 11:314,34042,373,78711,905,0001,984,0002,273,280
14Aug 7, 2024 11:334,34031,714,96612,896,000992,0002,273,280
15Aug 7, 2024 11:314,34132,225,87611,908,0001,984,0002,535,424
16Aug 7, 2024 11:314,34128,872,01212,898,000992,0002,453,504
17Aug 7, 2024 11:334,34241,295,55412,902,000992,0002,445,312
18Aug 7, 2024 11:334,36030,129,21011,959,0001,993,0002,535,424
19Aug 7, 2024 11:314,56994,990,00214,620,87402,199,552
20Aug 7, 2024 11:334,57956,197,92314,652,95702,326,528
21Aug 7, 2024 11:314,58676,929,46814,674,86902,256,896
22Aug 7, 2024 11:334,59683,370,14214,706,22702,338,816
23Aug 7, 2024 11:314,59971,303,93914,715,68302,199,552
24Aug 7, 2024 11:334,60469,408,24714,732,37802,330,624