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 listMay 29, 2022 16:02Keichi TakahashiKeichi TakahashiScore: 5,745Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 12:255,71243,247,78816,247,0002,030,0002,392,064
2May 29, 2022 16:025,71445,784,98417,269,0001,015,0002,265,088
3May 26, 2022 12:255,71539,485,11016,256,0002,032,0002,383,872
4May 26, 2022 12:255,71644,985,30618,292,00002,265,088
5May 29, 2022 16:025,71737,143,37417,278,0001,016,0002,392,064
6May 29, 2022 16:025,72240,039,45417,292,0001,017,0002,387,968
7May 29, 2022 16:025,72241,039,72117,293,0001,017,0002,387,968
8May 26, 2022 12:255,72639,988,58417,305,0001,017,0002,387,968
9May 26, 2022 12:255,72736,594,79317,308,0001,018,0002,265,088
10May 26, 2022 12:255,73248,530,78717,324,0001,019,0002,265,088
11May 26, 2022 12:255,73646,831,83117,335,0001,019,0002,265,088
12May 26, 2022 12:255,74040,867,14418,367,00002,527,232
13May 26, 2022 12:255,74539,897,27518,383,00002,265,088
14May 29, 2022 16:025,75344,932,31918,410,00002,265,088
15May 29, 2022 16:025,75340,479,30018,410,00002,265,088
16May 29, 2022 16:025,75344,411,09917,388,0001,022,0002,478,080
17May 29, 2022 16:025,75637,549,42717,397,0001,023,0002,265,088
18May 29, 2022 16:025,76033,609,47617,409,0001,024,0002,265,088
19May 26, 2022 12:255,86177,584,12818,755,91402,281,472
20May 29, 2022 16:025,87290,591,74018,790,41702,281,472
21May 29, 2022 16:025,87595,224,28718,800,55202,285,568
22May 26, 2022 12:255,88087,404,18518,814,92002,273,280
23May 29, 2022 16:025,88169,196,67618,820,18602,281,472
24May 26, 2022 12:255,88496,246,20718,830,11002,281,472