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 listJan 15, 2025 02:07Ian MckibbenIan MckibbenScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2025 02:075,36145,841,95716,147,0001,009,0002,281,472
2Jan 15, 2025 01:395,36241,283,53015,141,0002,018,0002,293,760
3Jan 15, 2025 02:125,36742,856,25815,154,0002,020,0002,293,760
4Jan 15, 2025 02:075,36940,681,57415,161,0002,021,0002,293,760
5Jan 15, 2025 01:395,37042,319,67415,163,0002,021,0002,277,376
6Jan 15, 2025 02:125,37037,433,78415,164,0002,021,0002,293,760
7Jan 15, 2025 01:395,37139,578,47215,166,0002,022,0002,273,280
8Jan 15, 2025 02:075,38254,904,37715,197,0002,026,0002,281,472
9Jan 15, 2025 02:075,38738,978,63015,210,0002,028,0002,281,472
10Jan 15, 2025 01:395,39239,724,12515,224,0002,029,0002,277,376
11Jan 15, 2025 01:395,39336,917,32615,229,0002,030,0002,293,760
12Jan 15, 2025 02:075,39939,627,45316,260,0001,016,0002,285,568
13Jan 15, 2025 01:395,40135,177,50115,250,0002,033,0002,293,760
14Jan 15, 2025 02:075,40334,689,60815,256,0002,034,0002,293,760
15Jan 15, 2025 02:075,40632,365,53716,282,0001,017,0002,269,184
16Jan 15, 2025 01:395,40846,854,92315,271,0002,036,0002,293,760
17Jan 15, 2025 01:395,41539,940,75715,291,0002,038,0002,277,376
18Jan 15, 2025 02:075,41746,304,53415,294,0002,039,0002,293,760
19Jan 15, 2025 02:125,41739,438,02415,295,0002,039,0002,285,568
20Jan 15, 2025 01:395,41944,681,82415,302,0002,040,0002,285,568
21Jan 15, 2025 02:075,43439,764,65215,343,0002,045,0002,293,760