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 8, 2024 18:14AndreyTSAndreyTSScore: 5,713Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:125,66538,660,39318,127,00002,269,184
2Jun 8, 2024 18:145,67441,237,08016,140,0002,017,0002,281,472
3Jun 8, 2024 18:125,67645,009,55216,146,0002,018,0002,289,664
4Jun 8, 2024 18:125,68135,373,64116,160,0002,020,0002,289,664
5Jun 8, 2024 18:145,68839,411,14416,179,0002,022,0002,289,664
6Jun 8, 2024 18:125,69439,785,38816,197,0002,024,0002,289,664
7Jun 8, 2024 18:145,69841,232,17916,207,0002,025,0002,277,376
8Jun 8, 2024 18:145,69836,256,11616,207,0002,025,0002,523,136
9Jun 8, 2024 18:125,70133,838,82116,216,0002,027,0002,289,664
10Jun 8, 2024 18:145,70445,258,25116,224,0002,028,0002,387,968
11Jun 8, 2024 18:145,71251,692,38916,247,0002,030,0002,281,472
12Jun 8, 2024 18:145,71341,867,62816,252,0002,031,0002,269,184
13Jun 8, 2024 18:125,71345,408,04617,268,0001,015,0002,289,664
14Jun 8, 2024 18:125,72241,621,45816,277,0002,034,0002,289,664
15Jun 8, 2024 18:145,73039,210,71616,300,0002,037,0002,281,472
16Jun 8, 2024 18:125,73240,932,53217,323,0001,019,0002,523,136
17Jun 8, 2024 18:125,73343,279,37516,309,0002,038,0002,269,184
18Jun 8, 2024 18:145,73348,801,91415,448,0002,896,0002,265,088
19Jun 8, 2024 18:126,17293,836,48119,749,80902,174,976
20Jun 8, 2024 18:146,20093,785,61419,839,73002,297,856
21Jun 8, 2024 18:146,20690,887,81519,860,40102,301,952
22Jun 8, 2024 18:126,21684,990,76819,891,76602,301,952
23Jun 8, 2024 18:126,22486,645,43119,917,23402,301,952
24Jun 8, 2024 18:146,24283,016,13719,975,99002,306,048