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 17:06Joad NacerJoad NacerScore: 4,454Success
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 17:064,43432,003,43313,176,0001,013,0002,531,328
2Nov 29, 2024 17:054,43536,183,69613,180,0001,013,0002,424,832
3Nov 29, 2024 17:054,43730,344,16313,183,0001,014,0002,531,328
4Nov 29, 2024 17:064,43730,534,37312,170,0002,028,0002,433,024
5Nov 29, 2024 17:064,43934,032,09013,191,0001,014,0002,269,184
6Nov 29, 2024 17:054,44628,569,43513,211,0001,016,0002,531,328
7Nov 29, 2024 17:064,45429,904,86213,234,0001,018,0002,433,024
8Nov 29, 2024 17:064,45438,879,57713,235,0001,018,0002,441,216
9Nov 29, 2024 17:064,45727,600,65912,225,0002,037,0002,531,328
10Nov 29, 2024 17:064,46837,068,40913,278,0001,021,0002,531,328
11Nov 29, 2024 17:064,47036,344,86513,282,0001,021,0002,428,928
12Nov 29, 2024 17:064,53837,655,79114,522,00002,428,928