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 3, 2024 04:45MylesMylesScore: 4,446Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:454,39829,682,11112,065,0002,010,0002,535,424
2Aug 3, 2024 04:454,41538,640,43812,109,0002,018,0002,445,312
3Aug 3, 2024 04:454,41941,680,14912,120,0002,020,0002,281,472
4Aug 3, 2024 04:454,42331,281,39012,133,0002,022,0002,281,472
5Aug 3, 2024 04:454,43528,250,95812,165,0002,027,0002,281,472
6Aug 3, 2024 04:454,44133,732,32812,182,0002,030,0002,457,600
7Aug 3, 2024 04:454,44637,261,10212,195,0002,032,0002,445,312
8Aug 3, 2024 04:454,45026,928,60212,206,0002,034,0002,277,376
9Aug 3, 2024 04:454,45826,663,07912,227,0002,037,0002,281,472
10Aug 3, 2024 04:454,68986,478,62415,003,74702,203,648
11Aug 3, 2024 04:454,70059,243,97915,038,59002,211,840
12Aug 3, 2024 04:454,71586,296,91915,086,75902,330,624