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 listJun 17, 2021 16:50Yuriy LyfenkoYuriy LyfenkoScore: 5,030Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2021 16:504,99391,105,25414,981,000998,0002,281,472
2Jun 17, 2021 16:504,99686,071,05113,988,0001,998,0002,281,472
3Jun 17, 2021 16:505,00189,701,70515,004,0001,000,0002,281,472
4Jun 17, 2021 16:505,00394,978,93914,010,0002,001,0002,281,472
5Jun 17, 2021 16:505,01488,498,12215,044,0001,002,0002,273,280
6Jun 17, 2021 16:505,01893,070,91114,050,0002,007,0002,273,280
7Jun 17, 2021 16:505,03093,273,56015,090,0001,006,0002,281,472
8Jun 17, 2021 16:505,03498,490,22915,103,0001,006,0002,281,472
9Jun 17, 2021 16:505,04491,170,72914,124,0002,017,0002,281,472
10Jun 17, 2021 16:505,155122,947,69116,494,41602,289,664
11Jun 17, 2021 16:505,164123,746,28016,525,81002,281,472
12Jun 17, 2021 16:505,179118,999,60016,573,49402,252,800