home Main bar_chart Scoreboard history Submissions campaign Notice help Qna #2092 J25_1 Mock Contest 연필 2 timer 1s memory 32MB Problems text_fields 정올이는 백원짜리 동전을 A개 가지고 있다. 정올이가 1개에 5백원 짜리 연필을 몇 개까지 살 수 있는지 알아보자. Input 첫 줄에 정수 A가 주어진다. (1 \le A \le 100) Output 첫 줄에 정올이가 살 수 있는 연필의 최대 개수를 출력한다. Example #1 login Input 9 content_copy logout Output 1 content_copy Example #2 login Input 10 content_copy logout Output 2 content_copy
Problems text_fields 정올이는 백원짜리 동전을 A개 가지고 있다. 정올이가 1개에 5백원 짜리 연필을 몇 개까지 살 수 있는지 알아보자. Input 첫 줄에 정수 A가 주어진다. (1 \le A \le 100) Output 첫 줄에 정올이가 살 수 있는 연필의 최대 개수를 출력한다. Example #1 login Input 9 content_copy logout Output 1 content_copy Example #2 login Input 10 content_copy logout Output 2 content_copy