- 博客(3)
- 收藏
- 关注
翻译 OJ术语
Accepted (AC) : OK! Your program is correct!接受(AC): OK!你的程序是正确的!Presentation Error (PE) : Output Format Error. Your output format is not exactly the same as the judge's output, although your answer to the problem is correct. Check your output for space
2020-05-27 19:45:18
1551
原创 数据结构、算法与应用 c++语言描述 第二版课后答案2
10.修改原有函数,处理异常#include <iostream>using namespace std;int abc(int a, int b, int c){ if (a < 0 & b < 0 & c < 0) { throw 1; } else if (a == 0 & b...
2020-05-06 15:35:03
2792
2
原创 数据结构、算法与应用 c++语言描述 第二版课后答案1
1.(1)没有交换的原因:是swap函数内的局部变量x,y进行了交换,并不是传入函数的实参进行了交换(2)更改为#include <iostream>using namespace std;void swap2(int &x, int &y){ int temp; temp = x; x = y; y = temp;}i...
2020-05-06 14:52:47
2975
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人