测试编译器语言
2026-07-10 13:41:25
发布于:浙江
点个赞OK?
#include<stdio.h>
#if 0
'''
#endif
int main(){
printf("C++");
return 0;
}
#if 0
'''
print("Python")
#endif
解析:C++#if0到#endif的被忽略,Python#和''''''是注释
以后万一有人两种语言都测,就:
#include<bits/stdc++.h>
#if 0
'''
#endif
C++代码
#if 0
'''
Python代码
#endif
这里空空如也





















有帮助,赞一个