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 19, 2025 05:11Ian MckibbenIan MckibbenScore: 4,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2025 05:114,46733,175,81313,274,0001,021,0002,433,024
2Jan 19, 2025 05:104,46831,499,91513,278,0001,021,0002,433,024
3Jan 19, 2025 05:104,47535,947,19613,298,0001,022,0002,437,120
4Jan 19, 2025 05:114,47531,260,20013,298,0001,022,0002,269,184
5Jan 19, 2025 05:114,47635,108,10713,300,0001,023,0002,531,328
6Jan 19, 2025 05:114,48032,450,98714,336,00002,428,928
7Jan 19, 2025 05:104,48330,617,31313,323,0001,024,0002,531,328
8Jan 19, 2025 05:104,48437,993,77213,325,0001,025,0002,531,328
9Jan 19, 2025 05:114,48532,322,26414,351,00002,433,024
10Jan 19, 2025 05:104,48732,054,43513,334,0001,025,0002,269,184
11Jan 19, 2025 05:114,48831,428,26314,361,00002,437,120
12Jan 19, 2025 05:104,48837,020,74614,360,00002,531,328
13Jan 19, 2025 05:114,49031,825,60212,316,0002,052,0002,428,928
14Jan 19, 2025 05:104,49235,340,90014,373,00002,531,328
15Jan 19, 2025 05:104,49530,405,58514,383,00002,531,328
16Jan 19, 2025 05:114,49634,377,30713,361,0001,027,0002,531,328
17Jan 19, 2025 05:114,50029,465,00614,400,00002,433,024
18Jan 19, 2025 05:114,50627,517,38913,389,0001,029,0002,531,328
19Jan 19, 2025 05:114,51032,094,94013,401,0001,030,0002,531,328
20Jan 19, 2025 05:114,51430,432,58813,415,0001,031,0002,531,328
21Jan 19, 2025 05:104,67930,891,43413,976,000998,0002,433,024