摘要:
//计算复数 #include <iostream> #include <iomanip> using namespace std; typedef struct{ float x; float y; }Comp; //打印复数的函数 void Printer(Comp res) { if (res 阅读全文
posted @ 2025-11-02 23:23
bluepoet
阅读(5)
评论(0)
推荐(0)
摘要:
#include <stdio.h> struct complex{ int real; int imag; };//结构体定义:分为实部和虚部 struct complex multiply(struct complex x, struct complex y); //函数声明 int main( 阅读全文
posted @ 2025-11-02 23:09
bluepoet
阅读(4)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2025-11-02 00:43
bluepoet
阅读(4)
评论(0)
推荐(0)
摘要:
#include <iostream> using namespace std; int main(){ int n; cin>>n; int tempM,sumM; int tempR,sumR; sumM=0; sumR=0; tempM=100000; tempR=1; for(int i=0 阅读全文
posted @ 2025-11-02 00:28
bluepoet
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号