3 条题解
-
0
#include <bits/stdc++.h> using namespace std; int main() { cout << "float:" << sizeof (float) << endl; cout << "long long:" << sizeof (long long) << endl; cout << "long:" << sizeof (long) << endl; cout << "string:" << sizeof (string) << endl; cout << "vector<int>:" << sizeof (vector<int>) << endl; cout << "vector<long long>:" << sizeof (vector<long long>) << endl; cout << "int:" << sizeof (int) << endl; cout << "stringstream:" << sizeof (stringstream) << endl; cout << "bool:" << sizeof (bool) << endl; cout << "char:" << sizeof (char) << endl; cout << "double:" << sizeof (double) << endl; return 0; }
- 1
信息
- ID
- 1179
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 10
- 标签
- 递交数
- 6
- 已通过
- 6
- 上传者