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 22, 2024 23:28Joad NacerJoad NacerScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 23:285,29344,920,31615,940,000996,0002,289,664
2Jul 22, 2024 23:285,29430,526,82814,948,0001,993,0002,289,664
3Jul 22, 2024 23:285,30143,265,09014,968,0001,995,0002,281,472
4Jul 22, 2024 23:285,30434,076,91815,976,000998,0002,269,184
5Jul 22, 2024 23:285,30540,929,56415,979,000998,0002,289,664
6Jul 22, 2024 23:285,30746,867,73814,985,0001,998,0002,289,664
7Jul 22, 2024 23:285,32345,058,90115,029,0002,003,0002,289,664
8Jul 22, 2024 23:285,32642,583,37615,038,0002,005,0002,273,280
9Jul 22, 2024 23:285,32937,289,73015,048,0002,006,0002,289,664
10Jul 22, 2024 23:285,56088,427,43817,792,78202,297,856
11Jul 22, 2024 23:285,57784,570,82217,847,07102,293,760
12Jul 22, 2024 23:285,60385,491,89417,928,50102,179,072