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 listJun 15, 2024 17:46ii14ii14Score: 5,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 17:465,65048,123,10317,077,0001,004,0002,396,160
2Jun 15, 2024 17:465,65249,050,97717,082,0001,004,0002,519,040
3Jun 15, 2024 17:465,65752,241,30915,085,0003,017,0002,379,776
4Jun 15, 2024 17:465,65946,520,03016,096,0002,012,0002,523,136
5Jun 15, 2024 17:465,66151,814,74716,103,0002,012,0002,519,040
6Jun 15, 2024 17:465,66843,177,02315,114,0003,022,0002,265,088
7Jun 15, 2024 17:465,66854,730,12316,124,0002,015,0002,383,872
8Jun 15, 2024 17:465,67044,430,32917,136,0001,008,0002,519,040
9Jun 15, 2024 17:465,69648,519,62816,201,0002,025,0002,523,136
10Jun 15, 2024 17:465,92574,143,66818,960,58202,285,568
11Jun 15, 2024 17:465,93087,849,67218,977,45002,269,184
12Jun 15, 2024 17:465,93677,483,10318,993,84402,285,568