QOJ.ac

QOJ

Time Limit: 2 s Memory Limit: 256 MB Total points: 100

#22575. Máy tính bò ngốc nghếch

Statistics

Bò chưa thạo kỹ thuật số muốn máy nhị phân (cơ số2, cowmpouter), nhưng làm cơ số-2! Vui vì không có bit dấu.

Giá trị từ phải1,-2,4,-8,16,-32, v.v. Đếm từ1:1,110,111,100,101,11010,11011,11000,11001, v.v. Âm cũng dùng1 và0 không dấu. Giảm từ-1:11,10,1101,1100,1111, v.v.

Chuyển số nguyên thập phân sang cơ số-2.

Dữ liệu vào

Một số nguyên trong-2,000,000,000..2,000,000,000.

Dữ liệu ra

Số đầu vào ở cơ số-2 không có0 đầu. Viết0 chính xác0.

Ví dụ

Dữ liệu vào 1

-13

Dữ liệu ra 1

110111

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.