Skip to content

Commit

Permalink
finished problem_e (java) maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
1florentin committed Dec 5, 2017
1 parent 1d4aa77 commit 6bc9e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2017/problem_e/problem_e.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void main(String[] args) throws IOException{
temp.remove(temp.indexOf(s.charAt(i)));
}else if(s.charAt(i) == ' '){
res+= ' ';
}else if(s.charAt(i) == '.' || s.charAt(i) == ','){
}else if(s.charAt(i) == '.' || s.charAt(i) == ',' || s.charAt(i) == ';' || s.charAt(i) == ':'){

}
else{
Expand All @@ -49,7 +49,7 @@ public static void main(String[] args) throws IOException{
blockflag = true;
}
}
if(temp.size() == 0){
if(temp.size() == 0 && !res.equals("SANTA CLAUS")){
System.out.println(res);
}

Expand Down

0 comments on commit 6bc9e6e

Please sign in to comment.