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 30, 2024 17:26Jatin YadavJatin YadavScore: 5,707Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2024 17:265,63740,649,64616,034,0002,004,0002,281,472
2Aug 30, 2024 17:265,65441,591,88616,083,0002,010,0002,277,376
3Aug 30, 2024 17:265,66740,957,37617,127,0001,007,0002,289,664
4Aug 30, 2024 17:265,68744,310,00516,176,0002,022,0002,289,664
5Aug 30, 2024 17:265,69039,812,50616,185,0002,023,0002,289,664
6Aug 30, 2024 17:265,70138,490,37517,230,0001,013,0002,379,776
7Aug 30, 2024 17:265,70740,937,65216,232,0002,029,0002,273,280
8Aug 30, 2024 17:265,71848,991,28216,264,0002,033,0002,527,232
9Aug 30, 2024 17:265,72845,309,66916,295,0002,036,0002,289,664
10Aug 30, 2024 17:265,86683,097,49618,769,85702,301,952
11Aug 30, 2024 17:266,05490,011,49619,373,79402,183,168
12Aug 30, 2024 17:266,125102,029,29819,598,86702,301,952