CE求助
查看原帖
CE求助
1421527
ChenHaoQi楼主2024/12/17 13:23
#include<iostream>
using namespace std;

namespace hw{
    string HH(int t){
        if(t==536870912) return "Hello";
        else if(t==1073741824) return ",";
        else if(t==2147483647) return "World";
        else return "";
    }
    string EOF(){
        return "!";
    }
};

int main(){
    for(int i=-2174783648; i<=2147483647; i++){
        cout<<hw::HH(i);
    }
    cout<<hw::EOF();
    return 0;
}
2024/12/17 13:23
加载中...