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 listJul 26, 2024 20:42Yuriy LyfenkoYuriy LyfenkoScore: 4,407Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:424,388536,844,33312,037,0002,006,0002,273,280
2Jul 26, 2024 20:424,396535,910,89012,059,0002,009,0002,457,600
3Jul 26, 2024 20:424,398540,500,71112,062,0002,010,0002,535,424
4Jul 26, 2024 20:424,402531,877,52312,075,0002,012,0002,445,312
5Jul 26, 2024 20:424,403539,521,41912,078,0002,013,0002,449,408
6Jul 26, 2024 20:424,406539,280,13212,084,0002,014,0002,273,280
7Jul 26, 2024 20:424,407542,394,22612,089,0002,014,0002,273,280
8Jul 26, 2024 20:424,413535,286,63313,112,0001,008,0002,535,424
9Jul 26, 2024 20:424,419538,746,36913,130,0001,010,0002,535,424
10Jul 26, 2024 20:424,586567,650,82514,675,45802,199,552
11Jul 26, 2024 20:424,607567,306,95414,741,37602,252,800
12Jul 26, 2024 20:424,614566,910,14314,765,66602,187,264