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 17:09Robert BurkeRobert BurkeScore: 4,446Success
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 17:094,42230,866,28612,130,0002,021,0002,281,472
2Apr 18, 2024 17:084,42427,894,89312,134,0002,022,0002,445,312
3Apr 18, 2024 17:114,42531,782,95212,138,0002,023,0002,281,472
4Apr 18, 2024 17:084,43130,378,64612,155,0002,025,0002,535,424
5Apr 18, 2024 17:084,43131,335,95712,153,0002,025,0002,281,472
6Apr 18, 2024 17:084,43232,147,07412,156,0002,026,0002,449,408
7Apr 18, 2024 17:084,43228,996,70412,156,0002,026,0002,281,472
8Apr 18, 2024 17:084,43546,606,06912,165,0002,027,0002,281,472
9Apr 18, 2024 17:094,43535,501,03712,164,0002,027,0002,281,472
10Apr 18, 2024 17:084,43632,991,11212,168,0002,028,0002,449,408
11Apr 18, 2024 17:084,43629,243,49412,168,0002,028,0002,277,376
12Apr 18, 2024 17:114,43830,982,72712,172,0002,028,0002,281,472
13Apr 18, 2024 17:094,44127,027,64912,180,0002,030,0002,445,312
14Apr 18, 2024 17:114,44330,779,89412,186,0002,031,0002,281,472
15Apr 18, 2024 17:094,44337,845,37612,187,0002,031,0002,449,408
16Apr 18, 2024 17:114,44334,749,46912,186,0002,031,0002,449,408
17Apr 18, 2024 17:114,44433,661,73312,190,0002,031,0002,433,024
18Apr 18, 2024 17:114,44529,354,01412,192,0002,032,0002,449,408
19Apr 18, 2024 17:094,44631,631,77212,195,0002,032,0002,273,280
20Apr 18, 2024 17:094,44732,527,60812,198,0002,033,0002,441,216
21Apr 18, 2024 17:114,44926,790,79212,203,0002,033,0002,281,472
22Apr 18, 2024 17:114,44930,384,08912,204,0002,034,0002,277,376
23Apr 18, 2024 17:094,44942,388,17112,204,0002,034,0002,281,472
24Apr 18, 2024 17:094,44932,084,25312,204,0002,034,0002,449,408
25Apr 18, 2024 17:084,45230,592,83513,230,0001,017,0002,445,312
26Apr 18, 2024 17:094,45530,286,26913,239,0001,018,0002,281,472
27Apr 18, 2024 17:114,48027,975,12814,335,00002,265,088
28Apr 18, 2024 17:094,69880,675,76915,033,37902,207,744
29Apr 18, 2024 17:114,69975,804,43815,036,96002,207,744
30Apr 18, 2024 17:084,70969,755,94815,068,03702,195,456
31Apr 18, 2024 17:094,710104,769,74115,070,61702,203,648
32Apr 18, 2024 17:094,71381,383,42515,082,71802,199,552
33Apr 18, 2024 17:084,72585,499,23415,118,61902,211,840
34Apr 18, 2024 17:114,73386,706,52415,145,54902,207,744
35Apr 18, 2024 17:084,76790,122,32215,254,40902,203,648
36Apr 18, 2024 17:114,77587,632,47115,280,64002,195,456