1 solutions

  • 0
    @ 2023-10-29 12:06:22
    #include <bits/stdc++.h>
    using namespace std;
    int main ()
    {  
    	int a;
    	long long b;
    	double c;
    	bool d;
    	char e;
    
    	cout<<sizeof(a)<<" "<<sizeof(b)<<" "<<sizeof(c)<<" "<<sizeof(d)<<" "<<sizeof(e)<<endl;
    	//printf("%d %d %d %d %d\n",sizeof(int),sizeof(long long),sizeof(double),sizeof(bool),sizeof(char));
    
    	return 0;
    } 
    
    • 1

    Information

    ID
    854
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    5
    Tags
    # Submissions
    40
    Accepted
    16
    Uploaded By