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 7, 2023 06:40Alexander MonakovAlexander MonakovScore: 4,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 06:404,50760,702,26014,422,00002,535,424
2Jun 7, 2023 06:404,52559,569,37014,479,00002,535,424
3Jun 7, 2023 06:414,52861,625,73814,490,00002,535,424
4Jun 7, 2023 06:414,52966,297,07714,494,00002,535,424
5Jun 7, 2023 06:404,53158,807,04414,498,00002,498,560
6Jun 7, 2023 06:414,53262,177,05614,502,00002,535,424
7Jun 7, 2023 06:404,53458,877,31214,508,00002,494,464
8Jun 7, 2023 06:404,53659,478,76613,479,0001,036,0002,502,656
9Jun 7, 2023 06:404,54064,430,43414,529,00002,498,560
10Jun 7, 2023 06:404,54365,701,76514,539,00002,535,424
11Jun 7, 2023 06:404,54761,744,04814,549,00002,535,424
12Jun 7, 2023 06:404,55271,290,79114,567,00002,494,464
13Jun 7, 2023 06:404,57761,796,75212,693,0001,952,0002,494,464
14Jun 7, 2023 06:404,58461,218,45912,713,0001,955,0002,535,424
15Jun 7, 2023 06:414,58660,352,51512,719,0001,956,0002,535,424
16Jun 7, 2023 06:414,58760,809,02413,700,000978,0002,535,424
17Jun 7, 2023 06:414,58860,048,06913,704,000978,0002,531,328
18Jun 7, 2023 06:404,59056,796,13513,710,000979,0002,490,368
19Jun 7, 2023 06:404,59060,724,92913,710,000979,0002,535,424
20Jun 7, 2023 06:404,59358,377,38814,696,00002,535,424
21Jun 7, 2023 06:404,59360,848,28312,738,0001,959,0002,490,368
22Jun 7, 2023 06:414,59460,932,95514,700,00002,502,656
23Jun 7, 2023 06:404,59462,168,99113,720,000980,0002,498,560
24Jun 7, 2023 06:404,59460,085,58013,720,000980,0002,535,424
25Jun 7, 2023 06:404,59464,988,72913,720,000980,0002,535,424
26Jun 7, 2023 06:414,59859,346,97013,734,000981,0002,498,560
27Jun 7, 2023 06:414,59959,252,79512,755,0001,962,0002,535,424
28Jun 7, 2023 06:404,74596,675,39215,184,63902,359,296
29Jun 7, 2023 06:414,75797,998,60415,223,21602,351,104
30Jun 7, 2023 06:414,76398,682,19615,241,56402,359,296
31Jun 7, 2023 06:404,76797,190,90215,254,34702,359,296
32Jun 7, 2023 06:404,776101,369,55115,283,54002,387,968
33Jun 7, 2023 06:414,799103,633,93715,355,42202,355,200
34Jun 7, 2023 06:404,803101,309,30015,369,73402,351,104
35Jun 7, 2023 06:404,808134,550,99215,384,26502,371,584
36Jun 7, 2023 06:404,817100,174,05815,414,05602,351,104