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 listSep 17, 2024 19:19Matvey BunosMatvey BunosScore: 6,002Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 19:215,96540,086,69418,085,0001,004,0002,277,376
2Sep 17, 2024 19:215,97534,894,29617,108,0002,012,0002,277,376
3Sep 17, 2024 19:195,97541,701,16918,115,0001,006,0002,273,280
4Sep 17, 2024 19:215,97644,286,59917,111,0002,013,0002,273,280
5Sep 17, 2024 19:195,98939,335,44817,148,0002,017,0002,265,088
6Sep 17, 2024 19:215,99139,317,32416,144,0003,027,0002,277,376
7Sep 17, 2024 19:195,99344,900,50013,121,0006,056,0002,277,376
8Sep 17, 2024 19:215,99348,926,34817,158,0002,018,0002,277,376
9Sep 17, 2024 19:216,00052,392,07715,158,0004,042,0002,277,376
10Sep 17, 2024 19:216,00150,268,08216,171,0003,032,0002,277,376
11Sep 17, 2024 19:196,00236,659,25316,173,0003,032,0002,523,136
12Sep 17, 2024 19:196,00744,551,91617,200,0002,023,0002,383,872
13Sep 17, 2024 19:216,00949,555,82417,206,0002,024,0002,277,376
14Sep 17, 2024 19:216,01837,995,72417,230,0002,027,0002,277,376
15Sep 17, 2024 19:196,02351,796,06017,245,0002,028,0002,277,376
16Sep 17, 2024 19:196,02449,069,25117,247,0002,029,0002,277,376
17Sep 17, 2024 19:216,03051,221,09317,264,0002,031,0002,277,376
18Sep 17, 2024 19:216,03145,362,90717,267,0002,031,0002,277,376
19Sep 17, 2024 19:196,03640,016,45118,299,0001,016,0002,531,328
20Sep 17, 2024 19:216,03745,753,85317,285,0002,033,0002,277,376
21Sep 17, 2024 19:196,05347,076,56917,330,0002,038,0002,277,376