原文链接: http://blog.csdn.net/lmyclever/article/details/6744906

 

  • 有符号型64位整数,值域为:-9223372036854775808 .. 9223372036854775807。

    语言 GNU C/C++ Pascal Visual C/C++
    类型名称 __int64
    or
    long long
    int64 __int64
    输入方法 scanf("%I64d", &x);
    or
    cin >> x;
    read(x); scanf("%I64d", &x);
    输出方法 printf("%I64d", x);

    cout << x;
    write(x); printf("%I64d", x);
  • 无符号型64位整数,值域为:0 .. 18446744073709551615。

    语言 GNU C/C++ Pascal Visual C/C++
    类型名称 unsigned __int64
    or
    unsigned long long
    qword unsigned __int64
    输入方法 scanf("%I64u", &x);
    or
    cin >> x;
    read(x); scanf("%I64u", &x);
    输出方法 printf("%I64u", x);
    or
    cout << x;
    write(x); printf("%I64u", x);
 
 
 
 
 
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2021-07-15
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2021-09-29
猜你喜欢
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-08-01
相关资源
相似解决方案