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 listNov 29, 2024 16:16Joad NacerJoad NacerScore: 4,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 16:164,43532,070,49413,178,0001,013,0002,428,928
2Nov 29, 2024 16:164,45430,137,08412,217,0002,036,0002,428,928
3Nov 29, 2024 16:164,46432,534,76413,266,0001,020,0002,531,328
4Nov 29, 2024 16:164,46534,865,11714,288,00002,531,328
5Nov 29, 2024 16:164,46632,379,94013,271,0001,020,0002,269,184
6Nov 29, 2024 16:164,47929,977,03013,309,0001,023,0002,531,328
7Nov 29, 2024 16:164,48336,996,61513,320,0001,024,0002,527,232
8Nov 29, 2024 16:164,50329,636,47514,410,00002,531,328
9Nov 29, 2024 16:164,50430,263,10814,412,00002,437,120
10Nov 29, 2024 16:164,52131,298,07713,434,0001,033,0002,433,024
11Nov 29, 2024 16:164,54936,579,45713,518,0001,039,0002,437,120
12Nov 29, 2024 16:164,61528,315,69914,768,00002,420,736
13Nov 29, 2024 16:164,68452,477,14412,991,0001,998,0002,437,120
14Nov 29, 2024 16:164,70338,924,94914,045,0001,003,0002,433,024
15Nov 29, 2024 16:164,75538,717,74313,314,0001,902,0002,269,184