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:19Robert BurkeRobert BurkeScore: 4,460Success
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:194,42634,999,04412,141,0002,023,0002,281,472
2Apr 18, 2024 14:194,43028,232,26512,152,0002,025,0002,449,408
3Apr 18, 2024 14:174,43429,678,31012,162,0002,027,0002,281,472
4Apr 18, 2024 14:174,43534,249,12712,166,0002,027,0002,281,472
5Apr 18, 2024 14:174,44036,420,16412,179,0002,029,0002,281,472
6Apr 18, 2024 14:194,44630,688,10812,194,0002,032,0002,449,408
7Apr 18, 2024 14:194,44731,809,85412,198,0002,033,0002,281,472
8Apr 18, 2024 14:174,45135,923,47912,208,0002,034,0002,535,424
9Apr 18, 2024 14:174,45340,961,70712,213,0002,035,0002,445,312
10Apr 18, 2024 14:194,45630,173,94612,222,0002,037,0002,457,600
11Apr 18, 2024 14:194,45828,816,13313,247,0001,019,0002,449,408
12Apr 18, 2024 14:194,45930,504,99713,251,0001,019,0002,453,504
13Apr 18, 2024 14:174,46031,500,94712,233,0002,038,0002,453,504
14Apr 18, 2024 14:174,46031,508,65814,273,00002,281,472
15Apr 18, 2024 14:194,46139,112,37312,235,0002,039,0002,445,312
16Apr 18, 2024 14:174,46231,098,51113,259,0001,019,0002,281,472
17Apr 18, 2024 14:194,46330,267,63313,261,0001,020,0002,441,216
18Apr 18, 2024 14:174,47336,853,56513,292,0001,022,0002,453,504
19Apr 18, 2024 14:174,72561,510,47715,120,32402,256,896
20Apr 18, 2024 14:194,73159,857,40515,139,70702,203,648
21Apr 18, 2024 14:174,75087,134,94915,198,70802,203,648
22Apr 18, 2024 14:194,77677,003,73915,282,09402,334,720
23Apr 18, 2024 14:194,78655,860,02315,315,39602,211,840
24Apr 18, 2024 14:174,78672,082,96515,315,82602,211,840