摘要:
#include #include #include using namespace std;int main(){ int n,m; cin >> n >> m; cout<<n+m-1<<endl; for(int i = 1; i <= m ; i ++) cout<<1<<" "<<i<<endl; for(int i = 2; i <= n; i ++ ) cout<<i<<" "<<m<< 阅读全文
posted @ 2013-07-04 14:18
OpenSoucre
阅读(195)
评论(0)
推荐(0)

浙公网安备 33010602011771号