题解列表

筛选

汽水瓶 (C语言代码)

摘要:解题思路:每次换购的瓶子a = bottle / 3每次换购以后剩下的空瓶数为bb= bottle / 3 + bottle % 3以上两部进行循环对a进行累加计数用b来循环控制,并对b==2时候对累……

单词个数统计 (C++代码)

摘要:解题思路:单词之间使用空格隔开,注意事项:参考代码:#include <iostream>#include <string>using namespace std;int main (){ int c……

地宫取宝 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int n,m,k,sum=0;int a[100][100];void dfs(int x,int y,int c,int v){ ……