華爲筆試1

牛客的輸入使用while(cin >> n >> m)ios 一個範圍內,要肯定大小(查詢a到b,要注意a<=b)數組 編號是從1開始計數,而數組是從0開始,這方面的變化。spa #include <iostream> #include <string> using namespace std; int main(){     int n=0,m=0;     while(cin >> n >>
相關文章
相關標籤/搜索