2 solutions

  • 1
    @ 2026-1-9 23:19:22

    #include <bits/stdc++.h> using namespace std;

    int main() { float a; double b; cout << sizeof(a) << " " << sizeof(b); return 0; }

    【例12.1】浮点型数据类型存储空间大小

    Information

    ID
    550
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    2
    Tags
    # Submissions
    131
    Accepted
    80
    Uploaded By