![[codeforces] A. Petya and Strings](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FJEcp0%2FbtqxGwzQS6s%2Fw65kdQ7omzSKGhHaMEAkCK%2Fimg.png)
problem Little Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase and lowercase Latin letters. Now Petya wants to compare those two strings lexicographically. The letters' case does not matter, that is an uppercase letter is considered equivalent to the corresponding lowercase letter. Help Petya perform the comparison. Input E..
![openpyxl.utils.exceptions.IllegalCharacterError](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2F6OWVo%2FbtqxHsXZfsm%2FoMEF1egRY4WbGfjIkosyN1%2Fimg.png)
평소처럼 웹페이지에서 Scraping으로 데이터를 수집하고 있었다. 그런데 이상하게 오늘은 python openpyxl.utils.exceptions.IllegalCharacterError 불러오는 중입니다... 위와 같은 error가 계속 발생하였다. 해결방법은 다음과 같다. 해결하기 위해서는 xlsxwriter가 필요하다 다운받아준다 그리고 기존의 코드에서 다음의 engine='xlsxwriter' 이 부분을 추가해 주면 오류가 해결된다. df1.to_excel('C:/Users/82107/Desktop/졸작/beta_senior_project_Excel/Image&content/image&content8000.xlsx',engine='xlsxwriter')
![[codeforces] A. Bit++](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FmB5hl%2FbtqxG6OlYM8%2FIL186tPiTc7ob1KQwfY9Vk%2Fimg.png)
problem The classic programming language of Bitland is Bit++. This language is so peculiar and complicated. The language is that peculiar as it has exactly one variable, called x. Also, there are two operations: Operation ++ increases the value of variable x by 1. Operation -- decreases the value of variable x by 1. A statement in language Bit++ is a sequence, consisting of exactly one operation..
![[codeforces] A. Domino piling](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FreLtr%2FbtqxGin5gLr%2FVkbziVpi0ASLF164WcWS80%2Fimg.png)
problem You are given a rectangular board of M × N squares. Also you are given an unlimited number of standard domino pieces of 2 × 1 squares. You are allowed to rotate the pieces. You are asked to place as many dominoes as possible on the board so as to meet the following conditions: 1. Each domino completely covers two squares. 2. No two dominoes overlap. 3. Each domino lies entirely inside th..
![[codeforces] A. Team](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcLY8OR%2FbtqxHB70eXR%2FbQCe8aAluwrFg3RCSydww0%2Fimg.png)
problem One day three best friends Petya, Vasya and Tonya decided to form a team and take part in programming contests. Participants are usually offered several problems during programming contests. Long before the start the friends decided that they will implement a problem if at least two of them are sure about the solution. Otherwise, the friends won't write the problem's solution. This conte..