摘要: import java.util.*; public class Main { static int dr[]={0,1,0,-1};///向左加,向右减 static int dc[]={1,0,-1,0};///向下加,向上减 static int arr[][]; static int n,m 阅读全文
posted @ 2020-04-29 21:23 wusheng_z 阅读(209) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String line; while (scan.hasNe 阅读全文
posted @ 2020-04-29 20:27 wusheng_z 阅读(249) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; int main() { // please write your code here stack<int>st; string str; while(cin>>str){ while(!st.empty() 阅读全文
posted @ 2020-04-29 20:17 wusheng_z 阅读(184) 评论(0) 推荐(0) 编辑
摘要: package lianxi; import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String line; w 阅读全文
posted @ 2020-04-29 18:00 wusheng_z 阅读(192) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String line; while (scan.hasNe 阅读全文
posted @ 2020-04-29 16:34 wusheng_z 阅读(230) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String line; while (scan.hasNe 阅读全文
posted @ 2020-04-29 09:58 wusheng_z 阅读(155) 评论(0) 推荐(0) 编辑
摘要: package lianxi; import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String line; w 阅读全文
posted @ 2020-04-29 09:29 wusheng_z 阅读(183) 评论(0) 推荐(0) 编辑