Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
21332 Terry 找出偶数 C++ 解答错误 0 0 MS 696 KB 201 2021-12-18 15:17:16

Tests(0/10):


#include <iostream> using namespace std; int main( ) { int x1,x2,i=x1; cin>>x1>>x2; while(i<=x2) { if(i%2!=0) cout<<i<<" "; i++; } cout<<i; return 0; }


测评信息:

输入

700 962

输出

4567152

答案

700 702 704 706 708 710 712 714 716 718 720 722 724 726 728 730 732 734 736 738 740 742 744 746 748 750 752 754 756 758 760 762 764 766 768 770 772 774 776 778 780 782 784 786 788 790 792 794 796 798...

系统信息

exit code: 0, checker exit code: 0