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 25, 2021 00:23Alexander KimAlexander KimScore: 5,794Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 00:235,75539,354,74416,371,0002,046,0002,334,720
2Dec 25, 2021 00:235,75844,828,09517,402,0001,023,0002,297,856
3Dec 25, 2021 00:235,76435,552,36218,446,00002,297,856
4Dec 25, 2021 00:235,76836,914,27918,456,00002,334,720
5Dec 25, 2021 00:235,77541,290,59418,479,00002,289,664
6Dec 25, 2021 00:235,78040,935,25917,469,0001,027,0002,334,720
7Dec 25, 2021 00:235,79440,264,47018,540,00002,334,720
8Dec 25, 2021 00:235,81934,867,49516,553,0002,069,0002,330,624
9Dec 25, 2021 00:235,82039,560,15316,556,0002,069,0002,306,048
10Dec 25, 2021 00:235,82190,982,79618,628,02902,277,376
11Dec 25, 2021 00:235,90387,056,33118,890,72702,265,088
12Dec 25, 2021 00:235,94581,174,39419,024,76502,265,088