试试C++中的Python题解
2025-11-13 18:43:55
发布于:北京
3阅读
0回复
0点赞
用宏定义可以模拟类似于 Python 的语法,但是不够像(((
#include<bits/stdc++.h>
#define def int
#define input cin >>
#define print cout <<
using namespace std;
def main(){
def a,b;
input a;
input b;
print a+b;
}
这里空空如也





有帮助,赞一个