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 12, 2024 02:56Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 02:5900000Error: No answer to stdout. Died or killed?
2Jun 12, 2024 02:564,431638,378,21413,167,0001,012,0002,523,136
3Jun 12, 2024 02:564,442634,649,94912,183,0002,030,0002,265,088
4Jun 12, 2024 02:564,448634,454,27112,201,0002,033,0002,523,136
5Jun 12, 2024 02:564,451643,055,51012,208,0002,034,0002,260,992
6Jun 12, 2024 02:564,453635,878,99814,250,00002,265,088
7Jun 12, 2024 02:564,469639,916,05212,259,0002,043,0002,527,232
8Jun 12, 2024 02:564,469643,111,21813,280,0001,021,0002,260,992
9Jun 12, 2024 02:564,470639,100,96512,260,0002,043,0002,523,136
10Jun 12, 2024 02:564,488644,863,00513,337,0001,025,0002,260,992
11Jun 12, 2024 02:564,589679,912,03214,685,62402,244,608
12Jun 12, 2024 02:564,595672,952,01014,705,20802,244,608
13Jun 12, 2024 02:554,603669,406,56614,728,93902,285,568
14Jun 12, 2024 02:554,614678,223,14614,765,21302,285,568
15Jun 12, 2024 03:084,615682,325,72114,768,39402,240,512
16Jun 12, 2024 03:084,643682,082,95214,857,95602,281,472
17Jun 12, 2024 03:084,644682,871,32514,859,75302,285,568
18Jun 12, 2024 02:564,650672,887,11014,880,62202,240,512
19Jun 12, 2024 02:554,650696,191,75414,878,77302,277,376