编写题解 1116: IP判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c, d,k; while ( (k=scanf("%d.%d.%d.…… 题解列表 2025年02月28日 0 点赞 0 评论 229 浏览 评分:0.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ int a; int ge,shi,bai; cin>>a; ge=a%1…… 题解列表 2025年02月28日 2 点赞 0 评论 311 浏览 评分:10.0
C++简单解法 摘要:#include#includeusing namespace std;int main(void){ double x; cin>>x; if (x…… 题解列表 2025年02月28日 0 点赞 0 评论 254 浏览 评分:10.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ int a; cin>>a; switch(a) { case 1:c…… 题解列表 2025年02月28日 0 点赞 0 评论 242 浏览 评分:10.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ int a; int flag=1;//立一个标志,以此来检测是否是素数 ci…… 题解列表 2025年02月28日 0 点赞 0 评论 243 浏览 评分:10.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ int a,b; while(cin>>a>>b)cout…… 题解列表 2025年02月28日 0 点赞 1 评论 299 浏览 评分:10.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ int n; long long a,b; cin>>n; for (i…… 题解列表 2025年02月28日 0 点赞 0 评论 269 浏览 评分:10.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ long long a,b; while(cin>>a>>b)//之所以不用whi…… 题解列表 2025年02月28日 0 点赞 0 评论 239 浏览 评分:10.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ long long n; long long a; while(cin>>…… 题解列表 2025年02月28日 0 点赞 0 评论 217 浏览 评分:10.0