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 listJul 3, 2023 14:55Anılcan GülkayaAnılcan GülkayaScore: 5,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 14:545,67237,778,80416,133,0002,016,0002,289,664
2Jul 3, 2023 14:555,67341,102,05217,145,0001,008,0002,269,184
3Jul 3, 2023 14:555,68139,052,17216,160,0002,020,0002,269,184
4Jul 3, 2023 14:545,68234,324,78516,161,0002,020,0002,273,280
5Jul 3, 2023 14:545,70041,684,35016,213,0002,026,0002,277,376
6Jul 3, 2023 14:545,70144,192,54116,217,0002,027,0002,277,376
7Jul 3, 2023 14:545,70142,734,61716,216,0002,027,0002,289,664
8Jul 3, 2023 14:545,70238,851,59117,232,0001,013,0002,289,664
9Jul 3, 2023 14:545,70539,520,08116,229,0002,028,0002,293,760
10Jul 3, 2023 14:545,70940,647,04917,254,0001,014,0002,289,664
11Jul 3, 2023 14:555,71235,986,98316,247,0002,030,0002,289,664
12Jul 3, 2023 14:555,71540,924,69316,257,0002,032,0002,273,280
13Jul 3, 2023 14:555,71739,552,23716,262,0002,032,0002,277,376
14Jul 3, 2023 14:555,72150,549,31217,289,0001,017,0002,289,664
15Jul 3, 2023 14:555,72844,217,17917,311,0001,018,0002,289,664
16Jul 3, 2023 14:555,73645,620,77317,335,0001,019,0002,289,664
17Jul 3, 2023 14:545,73841,421,08716,321,0002,040,0002,277,376
18Jul 3, 2023 14:555,76839,593,09517,431,0001,025,0002,289,664
19Jul 3, 2023 14:556,06976,404,83219,421,23202,174,976
20Jul 3, 2023 14:556,10767,010,59319,542,16002,289,664
21Jul 3, 2023 14:546,11088,514,76819,552,93602,252,800
22Jul 3, 2023 14:556,13088,051,49619,617,10102,297,856
23Jul 3, 2023 14:546,13196,836,53719,618,46102,179,072
24Jul 3, 2023 14:546,13664,462,35019,636,46802,301,952