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 23, 2023 00:06Kenneth MaplesKenneth MaplesScore: 5,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2023 00:065,09243,520,56314,257,0002,036,0002,265,088
2Dec 23, 2023 00:065,10337,739,53915,311,0001,020,0002,387,968
3Dec 23, 2023 00:065,10734,768,86915,321,0001,021,0002,265,088
4Dec 23, 2023 00:065,10940,676,98716,349,00002,392,064
5Dec 23, 2023 00:065,11135,100,08416,355,00002,265,088
6Dec 23, 2023 00:065,12041,930,67314,336,0002,048,0002,486,272
7Dec 23, 2023 00:065,12748,754,62115,381,0001,025,0002,400,256
8Dec 23, 2023 00:065,13535,057,83216,433,00002,265,088
9Dec 23, 2023 00:065,15534,487,42316,495,00002,265,088
10Dec 23, 2023 00:065,27564,146,77216,881,28602,277,376
11Dec 23, 2023 00:065,28188,001,73716,899,29902,273,280
12Dec 23, 2023 00:065,30587,023,50716,975,50702,273,280