3 solutions

  • -4
    @ 2025-7-7 20:53:57

    命名空间写法:

    //Code By 姚胜蓝
    #include <bits/stdc++.h>
    using namespace std;
    
    namespace Hello_World {
    	void Hello() {
    		cout << "Hello,World!";
    	}
    }
    using namespace Hello_World;
    
    int main() {
    	Hello();
    	return 0;
    }
    
    

    Information

    ID
    11909
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    # Submissions
    68
    Accepted
    31
    Uploaded By