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 2, 2021 14:18Yuriy LyfenkoYuriy LyfenkoScore: 5,312Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:185,27031,634,27614,881,0001,984,0002,392,064
2Jun 2, 2021 14:185,27148,369,86015,876,000992,0002,400,256
3Jun 2, 2021 14:185,29247,149,88014,943,0001,992,0002,383,872
4Jun 2, 2021 14:185,29743,763,40914,957,0001,994,0002,392,064
5Jun 2, 2021 14:185,30147,739,24415,965,000997,0002,387,968
6Jun 2, 2021 14:185,30243,119,50115,968,000998,0002,265,088
7Jun 2, 2021 14:185,31247,089,61614,998,0001,999,0002,260,992
8Jun 2, 2021 14:185,31439,086,09216,004,0001,000,0002,265,088
9Jun 2, 2021 14:185,33245,110,12216,060,0001,003,0002,392,064
10Jun 2, 2021 14:185,49779,784,34817,590,81302,281,472
11Jun 2, 2021 14:185,49960,437,27717,596,41002,277,376
12Jun 2, 2021 14:185,52877,787,77217,689,46502,269,184