Homework Introduction

主要内容:

  • 整型
    • int 4字节
    • long long 8字节
  • 浮点型
    • float 4字节 保留7位有效数字
    • double 8字节 保留16位有效数字
  • 字符型:char 1字节
  • 布尔型:bool 1字节
    • true 1
    • false 0

浮点数保留n位有效数字:

#include <iomanip>
cout << fixed << setprecision(3) << n << endl;

Problem

Please claim the assignment to see the problems.
Status
Live...
Problem
5
Open Since
2024-2-6 0:00
Deadline
2036-8-23 23:59
Extension
24 hour(s)