3 solutions

  • 1
    @ 2024-1-25 10:51:31
    #include<bits/stdc++.h>
    #define it long long
    using namespace std;
    
    int main(){
    	cout<<sizeof("Hello,World!")+1;
    	return 0;
    }
    

    其实题目是“Hello, World”(多了个空格

    • 1
      @ 2023-12-22 21:24:31

      #include using namespace std;

      int main(){ cout<<14; return 0; }

      • 0
        @ 2023-10-5 14:28:59
        #include<bits/stdc++.h>
        using namespace std;
        int main(){
            double i;
        	i = sizeof("Hello, World!");
            cout<<i;
        	return 0;
        }//你直接输出14也能对。
        
        • 1

        Information

        ID
        509
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        3
        Tags
        # Submissions
        87
        Accepted
        50
        Uploaded By