摘要:
实现 #include <iostream> #include <string> #include <vector> #include <sstream> using namespace std; void handle_path(vector<string>& paths, string path 阅读全文
摘要:
实现 #include <cstdio> int main() { long long num; scanf("%lld",&num); int sum = 0; while (num != 0) { sum += num % 10; num /= 10; } printf("%d",sum); } 阅读全文
摘要:
实现 #include <cstdio> #define MAXN 32 int chess[MAXN][MAXN]; int marks[MAXN][MAXN]; int main() { int row, col; scanf("%d%d",&row,&col); for (int i = 0; 阅读全文