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 9, 2024 22:18zielajzielajScore: 4,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 22:184,27827,036,65512,637,0001,053,0002,457,600
2Aug 9, 2024 22:194,27828,826,27012,638,0001,053,0002,445,312
3Aug 9, 2024 22:194,28138,929,94512,647,0001,053,0002,449,408
4Aug 9, 2024 22:194,28442,035,14212,655,0001,054,0002,535,424
5Aug 9, 2024 22:194,28638,066,58412,660,0001,055,0002,273,280
6Aug 9, 2024 22:194,28829,359,35912,668,0001,055,0002,445,312
7Aug 9, 2024 22:184,29233,594,93312,679,0001,056,0002,535,424
8Aug 9, 2024 22:194,29228,539,07712,678,0001,056,0002,445,312
9Aug 9, 2024 22:184,33129,776,80512,870,000990,0002,453,504
10Aug 9, 2024 22:184,33333,393,87611,884,0001,980,0002,441,216
11Aug 9, 2024 22:194,33430,402,39811,887,0001,981,0002,449,408
12Aug 9, 2024 22:184,33527,132,02011,890,0001,981,0002,535,424
13Aug 9, 2024 22:184,33529,500,93812,882,000990,0002,531,328
14Aug 9, 2024 22:184,33641,447,79611,892,0001,982,0002,273,280
15Aug 9, 2024 22:194,33827,188,95312,889,000991,0002,273,280
16Aug 9, 2024 22:184,33834,590,52411,900,0001,983,0002,269,184
17Aug 9, 2024 22:184,33939,807,79011,903,0001,983,0002,535,424
18Aug 9, 2024 22:194,34225,505,24111,909,0001,984,0002,449,408
19Aug 9, 2024 22:194,54470,850,37214,541,32302,195,456
20Aug 9, 2024 22:194,55589,916,74614,577,19902,252,800
21Aug 9, 2024 22:194,57665,254,92914,644,63702,199,552
22Aug 9, 2024 22:184,58180,966,73314,660,63502,330,624
23Aug 9, 2024 22:184,59198,929,08914,690,92702,195,456
24Aug 9, 2024 22:184,59585,642,39214,704,13802,330,624