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 14, 2024 13:24matsuoka-601matsuoka-601Score: 4,419Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 13:574,38939,866,22612,040,0002,006,0002,445,312
2Dec 14, 2024 13:574,39534,927,79312,056,0002,009,0002,277,376
3Dec 14, 2024 13:574,39628,855,00412,057,0002,009,0002,449,408
4Dec 14, 2024 13:574,40634,712,79012,084,0002,014,0002,277,376
5Dec 14, 2024 13:574,40626,471,59212,085,0002,014,0002,535,424
6Dec 14, 2024 13:574,40630,351,26612,085,0002,014,0002,445,312
7Dec 14, 2024 13:574,40829,532,00112,091,0002,015,0002,277,376
8Dec 14, 2024 13:574,41128,488,04012,100,0002,016,0002,449,408
9Dec 12, 2024 17:514,41540,509,26712,111,0002,018,0002,449,408
10Dec 14, 2024 13:574,41532,550,95012,111,0002,018,0002,445,312
11Dec 14, 2024 13:574,41931,020,10212,122,0002,020,0002,441,216
12Dec 14, 2024 13:574,42433,980,36912,135,0002,022,0002,277,376
13Dec 14, 2024 13:574,42835,113,19012,145,0002,024,0002,535,424
14Dec 12, 2024 17:514,42946,830,09512,148,0002,024,0002,277,376
15Dec 12, 2024 17:514,54134,019,89614,531,00002,437,120
16Dec 19, 2024 09:165,02032,681,01814,057,0002,008,0002,441,216
17Dec 19, 2024 09:165,03233,651,80114,090,0002,012,0002,445,312
18Dec 19, 2024 09:165,15941,794,29115,479,0001,031,0002,449,408
19Dec 14, 2024 13:2419,95399,379,94760,856,0002,992,0002,445,312
20Dec 14, 2024 13:2420,329105,829,71562,052,0003,002,0002,441,216
21Dec 14, 2024 13:2421,035113,779,97063,465,0003,846,0002,273,280