zoukankan      html  css  js  c++  java
  • 整理出的各种类型的字节数

    // LINUX中 GCC类型长度(字节)
    // type         x86_sizeof(type)    x64_sizeof(type)
    // char         1                   1
    // short        2                   2
    // int          4                   4
    // long         4                   8
    // void*        4                   8
    // long long    8                   8
    // float        4                   4
    // double       8                   8

    //__GNUC__
    /nux
    //__i386__  是x86
    //__x86_64__  是X64


    //windows VC编译器
    // type         x86_sizeof(type)    x64_sizeof(type)
    // char         1                   1
    // short        2                   2
    // int          4                   4
    // long         4                   4
    // void*        4                   8
    // long long    8                   8
    // float        4                   4
    // double       8                   8
  • 相关阅读:
    CF1280G Kirchhoff's Current Loss【表达式解析,不等式】
    [AGC040C] Neither AB nor BA
    [AGC040B]Two Contests
    [ARC101E]Ribbons on Tree(容斥,dp)
    [GXOI/GZOI2019]旧词
    [SDOI2015]寻宝游戏
    半平面交初步
    [CF585E]Marbles
    [P5348]密码解锁
    NOIP2018 保卫王国
  • 原文地址:https://www.cnblogs.com/wangchenggen/p/3732565.html
Copyright © 2011-2022 走看看