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 listApr 17, 2024 03:44Joad NacerJoad NacerScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:445,26141,334,42114,855,0001,980,0002,379,776
2Apr 17, 2024 03:445,26933,454,42315,870,000991,0002,289,664
3Apr 17, 2024 03:445,27334,238,82214,888,0001,985,0002,289,664
4Apr 17, 2024 03:445,27347,088,28915,881,000992,0002,375,680
5Apr 17, 2024 03:445,28239,065,32114,915,0001,988,0002,289,664
6Apr 17, 2024 03:445,28638,252,25815,859,0001,057,0002,523,136
7Apr 17, 2024 03:445,28844,048,43915,927,000995,0002,281,472
8Apr 17, 2024 03:445,30940,709,22114,990,0001,998,0002,289,664
9Apr 17, 2024 03:445,32443,551,16115,032,0002,004,0002,289,664
10Apr 17, 2024 03:445,51599,929,27617,647,02002,301,952
11Apr 17, 2024 03:445,52885,549,54417,688,63302,179,072
12Apr 17, 2024 03:445,54668,535,13717,746,83002,179,072