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 15, 2024 08:14CalCalScore: 5,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 08:145,46333,244,81416,454,0001,028,0002,281,472
2Jan 15, 2024 08:145,46835,074,29316,467,0001,029,0002,281,472
3Jan 15, 2024 08:145,48132,572,15717,538,00002,404,352
4Jan 15, 2024 08:145,48236,956,09216,511,0001,031,0002,281,472
5Jan 15, 2024 08:145,49043,682,08916,535,0001,033,0002,281,472
6Jan 15, 2024 08:145,49738,401,48017,591,00002,281,472
7Jan 15, 2024 08:145,49938,314,77416,562,0001,035,0002,281,472
8Jan 15, 2024 08:145,51152,982,69917,634,00002,400,256
9Jan 15, 2024 08:145,53552,052,54416,670,0001,041,0002,281,472
10Jan 15, 2024 08:145,69285,857,62818,215,99002,289,664
11Jan 15, 2024 08:145,71579,082,38918,287,83402,297,856
12Jan 15, 2024 08:145,73883,120,38118,360,86602,297,856