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 listApr 18, 2024 14:29Robert BurkeRobert BurkeScore: 4,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:304,42429,384,54512,136,0002,022,0002,281,472
2Apr 18, 2024 14:304,42629,265,38412,141,0002,023,0002,535,424
3Apr 18, 2024 14:304,42633,364,62112,140,0002,023,0002,281,472
4Apr 18, 2024 14:294,42730,427,14312,142,0002,023,0002,449,408
5Apr 18, 2024 14:294,43034,860,86412,152,0002,025,0002,445,312
6Apr 18, 2024 14:304,43833,707,17812,174,0002,029,0002,445,312
7Apr 18, 2024 14:294,43836,244,91212,172,0002,028,0002,445,312
8Apr 18, 2024 14:304,43830,878,04412,174,0002,029,0002,281,472
9Apr 18, 2024 14:304,44135,175,69312,181,0002,030,0002,445,312
10Apr 18, 2024 14:294,44230,720,12912,184,0002,030,0002,449,408
11Apr 18, 2024 14:294,44536,699,23612,193,0002,032,0002,441,216
12Apr 18, 2024 14:304,44832,963,15312,199,0002,033,0002,281,472
13Apr 18, 2024 14:294,44833,519,22612,200,0002,033,0002,449,408
14Apr 18, 2024 14:294,44935,432,60612,203,0002,033,0002,281,472
15Apr 18, 2024 14:304,45040,534,74512,207,0002,034,0002,445,312
16Apr 18, 2024 14:294,45433,987,86513,236,0001,018,0002,281,472
17Apr 18, 2024 14:304,45529,488,87913,237,0001,018,0002,281,472
18Apr 18, 2024 14:294,46343,161,46113,261,0001,020,0002,281,472
19Apr 18, 2024 14:304,71175,985,63415,074,72902,203,648
20Apr 18, 2024 14:294,72791,406,72515,125,96702,203,648
21Apr 18, 2024 14:294,730100,595,58415,136,45102,211,840
22Apr 18, 2024 14:304,74061,427,36915,167,16302,260,992
23Apr 18, 2024 14:304,74283,843,08215,175,47102,211,840
24Apr 18, 2024 14:294,74786,025,42515,191,13202,211,840