formygloryandpeacefulday |
|
||
2024年12月4日
摘要:
include using namespace std; int main() { int l, m; cin >> l >> m; int* begin = new int[m]; int* end = new int[m]; // 从0开始输入数据 for (int i = 0; i < m; 阅读全文
2024年11月30日
摘要:
include using namespace std; int main() { int l, m; cin >> l >> m; int* begin = new int[m]; int* end = new int[m]; // 从0开始输入数据 for (int i = 0; i < m; 阅读全文
2024年11月28日
摘要:
include using namespace std; int main() { int a,a1; int count = 0; cin >> a; a1 = a; while (a != 1) { if (a % 2 == 0) { a = a / 2; count++; } else { a 阅读全文
2024年11月27日
摘要:
include include using namespace std; pair<int, int> vector_addition(const pair<int, int>& v1, const pair<int, int>& v2) { int x1 = v1.first; int y1 = 阅读全文
2024年11月26日
摘要:
include using namespace std; int search(int list[], int n, int x); int main() { int a[10]; int i; int n,x; cin >> n; for (i = 0; i < n; i++) { cin >> 阅读全文
2024年11月25日
摘要:
include include using namespace std; struct Time { int hours; int minutes; int seconds; }; Time addSeconds(Time t, int secondsToAdd) { t.seconds += se 阅读全文
摘要:
include using namespace std; define max 20 void swap(char* p, char* q); int main() { char a[max]; int index,n; cout << "输入n" << endl; cin >> n; cout < 阅读全文
摘要:
include using namespace std; int main() { struct stuent { int a[5]; double all=0; } s[5]; int low[5], high[5]; double ava[5] = { 0 }; int temp; cout < 阅读全文
2024年11月22日
摘要:
include include<stdlib.h> using namespace std; int main() { int n, sum, i, * p; cout << "enter n" << endl; cin >> n; if ((p = (int*)calloc(n, sizeof(i 阅读全文
2024年11月21日
摘要:
include using namespace std; define max 80 void zip(char* p); int main989() { char line[max]; cout << "Input the string"; cin>>line; zip(line); puts(l 阅读全文
|
Copyright © 2025 残夏便是结局
Powered by .NET 9.0 on Kubernetes |