SYNU

SYNU 22-23-2C++第四章(实验)

仅展示答案以供参考,原题请见PTA 6-1 面积计算器(函数重载) 1 int area(int x,int y){ 2 return x*y; 3 } 4 int area(int x,int y,int z){ 5 return 2*(x*y+y*z+z*x); 6 } 6-3 最大值函数重载 ......
SYNU 22 23 2C

SYNU PTA C++ 第二章实验题

本随笔仅提供参考,具体题目请见PTA 7-1 测试C++ 1 #include "iostream" 2 #include "vector" 3 using namespace std; 4 int main(){ 5 int n; 6 cin>>n; 7 vector<int> nums(n); ......
第二章 SYNU PTA
共2篇  :1/1页 首页上一页1下一页尾页