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 30, 2023 16:44Alexander MonakovAlexander MonakovScore: 4,925Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 16:444,66234,378,25711,935,0002,983,0002,482,176
2Jun 30, 2023 16:444,67729,742,28312,970,0001,995,0002,482,176
3Jun 30, 2023 16:444,68331,120,12913,987,000999,0002,498,560
4Jun 30, 2023 16:444,68436,506,22413,990,000999,0002,531,328
5Jun 30, 2023 16:444,69631,031,57912,022,0003,005,0002,478,080
6Jun 30, 2023 16:444,69934,725,06114,035,0001,002,0002,531,328
7Jun 30, 2023 16:444,70737,352,39114,057,0001,004,0002,269,184
8Jun 30, 2023 16:444,71037,262,01614,069,0001,004,0002,482,176
9Jun 30, 2023 16:444,71338,223,78714,075,0001,005,0002,531,328
10Jun 30, 2023 16:444,71933,571,98612,080,0003,020,0002,482,176
11Jun 30, 2023 16:444,71934,460,30314,094,0001,006,0002,486,272
12Jun 30, 2023 16:444,80543,150,62814,352,0001,025,0002,531,328
13Jun 30, 2023 16:444,92575,805,76115,759,98202,240,512
14Jun 30, 2023 16:444,93176,775,55115,778,84202,240,512
15Jun 30, 2023 16:444,94468,121,39015,821,63702,244,608
16Jun 30, 2023 16:444,94459,366,90415,821,99702,232,320
17Jun 30, 2023 16:444,95578,554,49515,857,20102,240,512
18Jun 30, 2023 16:444,98781,917,38515,957,31302,236,416
19Jun 30, 2023 16:447,40450,354,89514,421,0009,271,0002,277,376
20Jun 30, 2023 16:447,44350,607,73814,887,0008,932,0002,404,352
21Jun 30, 2023 16:447,45448,868,30416,896,0006,957,0002,375,680
22Jun 30, 2023 16:447,46147,026,37510,943,00012,933,0002,433,024
23Jun 30, 2023 16:447,47245,010,83112,952,00010,959,0002,404,352
24Jun 30, 2023 16:447,54046,450,91716,086,0008,043,0002,428,928