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 22, 2025 20:33Ian MckibbenIan MckibbenScore: 4,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2025 20:324,44036,054,30412,178,0002,029,0002,269,184
2Jan 22, 2025 20:324,45332,534,90113,233,0001,017,0002,531,328
3Jan 22, 2025 20:324,46129,904,24013,257,0001,019,0002,531,328
4Jan 22, 2025 20:324,47140,841,87014,306,00002,531,328
5Jan 19, 2025 05:274,47639,275,45714,324,00002,531,328
6Jan 19, 2025 05:274,47630,360,52114,323,00002,433,024
7Jan 19, 2025 05:274,47732,119,35714,326,00002,531,328
8Jan 22, 2025 20:324,47730,997,33614,327,00002,510,848
9Jan 22, 2025 20:334,47930,876,87414,333,00002,269,184
10Jan 22, 2025 20:324,47929,014,91114,334,00002,437,120
11Jan 19, 2025 05:274,48035,251,66912,288,0002,048,0002,424,832
12Jan 22, 2025 20:324,48030,504,24414,335,00002,531,328
13Jan 22, 2025 20:324,48033,284,14714,337,00002,531,328
14Jan 19, 2025 05:274,48529,703,22914,353,00002,531,328
15Jan 19, 2025 05:274,49027,578,84414,367,00002,510,848
16Jan 22, 2025 20:324,49827,994,24913,364,0001,028,0002,531,328
17Jan 19, 2025 05:274,50531,365,29414,416,00002,531,328
18Jan 19, 2025 05:274,51032,710,90614,432,00002,269,184
19Jan 19, 2025 05:274,51231,884,30314,437,00002,531,328
20Jan 22, 2025 20:334,51234,033,95314,437,00002,531,328
21Jan 22, 2025 20:334,52928,058,03013,458,0001,035,0002,437,120
22Jan 22, 2025 20:334,69840,200,51414,031,0001,002,0002,437,120
23Jan 22, 2025 20:334,71026,949,93914,069,0001,004,0002,510,848
24Jan 22, 2025 20:334,71633,427,05614,086,0001,006,0002,531,328