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 listJul 15, 2024 15:42kytanskytansScore: 4,386Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 15:424,36335,753,10312,964,000997,0002,510,848
2Jul 15, 2024 15:424,36429,088,17812,967,000997,0002,510,848
3Jul 15, 2024 15:424,36439,392,14112,967,000997,0002,506,752
4Jul 15, 2024 15:424,36735,469,05812,975,000998,0002,506,752
5Jul 15, 2024 15:424,37227,502,13912,991,000999,0002,510,848
6Jul 15, 2024 15:424,37426,168,17112,998,000999,0002,506,752
7Jul 15, 2024 15:424,37840,937,10113,008,0001,000,0002,506,752
8Jul 15, 2024 15:424,38034,581,03013,016,0001,001,0002,506,752
9Jul 15, 2024 15:424,38229,108,15813,021,0001,001,0002,277,376
10Jul 15, 2024 15:424,38335,971,13513,023,0001,001,0002,277,376
11Jul 15, 2024 15:424,38433,227,78813,027,0001,002,0002,273,280
12Jul 15, 2024 15:424,38543,241,95613,029,0001,002,0002,277,376
13Jul 15, 2024 15:424,38627,326,64513,034,0001,002,0002,506,752
14Jul 15, 2024 15:424,39227,375,39713,051,0001,003,0002,277,376
15Jul 15, 2024 15:424,39431,875,97313,056,0001,004,0002,535,424
16Jul 15, 2024 15:424,39530,014,85713,061,0001,004,0002,506,752
17Jul 15, 2024 15:424,39531,089,19613,060,0001,004,0002,510,848
18Jul 15, 2024 15:424,40529,882,56413,090,0001,006,0002,277,376
19Jul 15, 2024 15:424,62379,014,44814,793,84202,252,800
20Jul 15, 2024 15:424,63182,295,41814,818,17402,248,704
21Jul 15, 2024 15:424,63257,025,17014,823,54602,244,608
22Jul 15, 2024 15:424,64180,555,75714,851,03902,387,968
23Jul 15, 2024 15:424,64298,027,48314,853,09102,248,704
24Jul 15, 2024 15:424,65670,429,20714,900,49502,383,872