关于一道OJ上的自认为简单的题目,
我的代码:
程序代码:
#include<iostream> using namespace std; int main(){ int shu[10]; int i; size_t j=0; while(j!=10){ cin>>shu[j]; ++j; } size_t ix=9; while(ix!=-1) { cout<<shu[ix]<<" "; --ix; } return 0; }
判题出现格式错误百分之五十,求解;