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 listDec 21, 2025 17:10jhallgreenjhallgreenScore: 4,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 17:114,42632,410,48712,141,0002,023,0002,383,872
2Dec 21, 2025 17:104,45532,853,92912,220,0002,036,0002,519,040
3Dec 21, 2025 17:094,45732,746,74513,244,0001,018,0002,371,584
4Dec 21, 2025 17:104,46828,721,14412,256,0002,042,0002,519,040
5Dec 21, 2025 17:094,47631,196,60912,278,0002,046,0002,523,136
6Dec 21, 2025 17:084,47727,716,63913,302,0001,023,0002,523,136
7Dec 21, 2025 17:114,47841,200,65714,330,00002,519,040
8Dec 21, 2025 17:104,47836,583,50613,307,0001,023,0002,392,064
9Dec 21, 2025 17:114,48035,043,92914,335,00002,519,040
10Dec 21, 2025 17:084,48131,513,23614,340,00002,375,680
11Dec 21, 2025 17:104,48338,759,01713,320,0001,024,0002,519,040
12Dec 21, 2025 17:104,48631,632,55013,329,0001,025,0002,523,136
13Dec 21, 2025 17:104,49227,810,19113,347,0001,026,0002,519,040
14Dec 21, 2025 17:104,49231,735,49613,349,0001,026,0002,519,040
15Dec 21, 2025 17:094,50037,768,94113,372,0001,028,0002,383,872
16Dec 21, 2025 17:104,50337,825,64714,411,00002,383,872
17Dec 21, 2025 17:084,50635,913,42014,420,00002,519,040
18Dec 21, 2025 17:104,51236,356,00612,377,0002,062,0002,387,968