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 19:33Robert BurkeRobert BurkeScore: 4,417Success
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 19:254,39433,341,99312,053,0002,008,0002,281,472
2Apr 18, 2024 19:334,39929,969,88712,067,0002,011,0002,441,216
3Apr 18, 2024 19:254,40032,830,34312,070,0002,011,0002,281,472
4Apr 18, 2024 19:254,40435,023,01912,081,0002,013,0002,281,472
5Apr 18, 2024 19:254,40930,113,67412,095,0002,015,0002,281,472
6Apr 18, 2024 19:334,41139,949,78512,099,0002,016,0002,281,472
7Apr 18, 2024 19:254,41231,372,10912,101,0002,016,0002,445,312
8Apr 18, 2024 19:334,41329,396,57612,104,0002,017,0002,277,376
9Apr 18, 2024 19:334,41328,476,52712,103,0002,017,0002,445,312
10Apr 18, 2024 19:334,41630,287,43312,112,0002,018,0002,281,472
11Apr 18, 2024 19:334,41739,294,35212,114,0002,019,0002,281,472
12Apr 18, 2024 19:334,41736,448,32812,115,0002,019,0002,445,312
13Apr 18, 2024 19:254,41730,457,70012,116,0002,019,0002,445,312
14Apr 18, 2024 19:334,42030,431,09112,123,0002,020,0002,281,472
15Apr 18, 2024 19:254,42131,275,78712,127,0002,021,0002,281,472
16Apr 18, 2024 19:254,43132,500,56712,153,0002,025,0002,449,408
17Apr 18, 2024 19:334,43338,611,90912,160,0002,026,0002,281,472
18Apr 18, 2024 19:254,44028,899,03712,178,0002,029,0002,273,280
19Apr 18, 2024 19:254,64365,675,61814,856,78202,195,456
20Apr 18, 2024 19:254,65289,857,58314,886,67502,203,648
21Apr 18, 2024 19:334,69886,891,59115,033,77702,203,648
22Apr 18, 2024 19:334,71483,392,73515,083,54102,207,744
23Apr 18, 2024 19:334,73672,752,06615,154,94902,203,648
24Apr 18, 2024 19:254,77675,732,45615,281,78102,199,552