- Total time limit:
- 1000ms
- Memory Limit:
- 65536kB
- description
-
Each define a float, double type variable, and sequentially outputs them to the storage space (unit: bytes).
- Entry
- no.
- Export
- Line, two integers, namely, the size of the storage space two variables, separated by a space.
- Sample input
-
(no)
- Sample Output
-
(Not available)
1 #include <iostream> 2 using namespace std; 3 /* 4 5 */ 6 int main(){ 7 float a; 8 double b; 9 cout<<sizeof(a)<<" "<<sizeof(b); 10 11 return 0; 12 }