Wizards And Minimal Spell
easy
https://codeforces.com/problemset/problem/168/B
Constraints
Check the link
Format
Input
Check the link
Output
Check the link
{"id":"696d6ed8-e08e-48f4-af67-811d2962600f","name":"Wizards And Minimal Spell","description":"https://codeforces.com/problemset/problem/168/B","inputFormat":"Check the link","outputFormat":"Check the link","constraints":"Check the link","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.io.*;\r\nimport java.util.*;\r\n\r\nimport static java.lang.Math.*;\r\n\r\npublic class Main {\r\n\r\n static BufferedReader in;\r\n static StringTokenizer st;\r\n static PrintWriter out;\r\n\r\n static void solve() throws IOException {\r\n\r\n\r\n }\r\n\r\n\r\n\r\n\r\n\r\n // in = new BufferedReader(new FileReader(\"test.txt\"));\r\n\r\n\r\n\r\n static String ns() throws IOException {\r\n while (st == null || !st.hasMoreTokens())\r\n st = new StringTokenizer(in.readLine());\r\n return st.nextToken();\r\n }\r\n\r\n static int ni() throws IOException {\r\n return Integer.valueOf(ns());\r\n }\r\n\r\n static long nl() throws IOException {\r\n return Long.valueOf(ns());\r\n }\r\n\r\n static double nd() throws IOException {\r\n return Double.valueOf(ns());\r\n }\r\n\r\n public static void main(String[] args) throws IOException {\r\n in = new BufferedReader(new InputStreamReader(System.in));\r\n out = new PrintWriter(System.out);\r\n solve();\r\n in.close();\r\n out.close();\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"easy","sampleInput":"","sampleOutput":"","questionVideo":"","hints":[],"associated":[],"solutionSeen":false,"tags":[],"meta":{"path":[{"id":0,"name":"home"},{"id":"0c54b191-7b99-4f2c-acb3-e7f2ec748b2a","name":"Data Structures and Algorithms","slug":"data-structures-and-algorithms","type":0},{"id":"a2073e25-96a1-4875-b400-f40bbe2edd95","name":"Text Processing For Experts","slug":"text-processing-for-experts-859","type":0},{"id":"766e7dc2-daed-49b8-adaf-f84ccadaa15e","name":"Wizards And Minimal Spell","slug":"wizards-and-minimal-spell","type":1}],"next":{"id":"6ad517c0-9b78-4fed-8d1b-3677208d275d","name":"Exponential Notation","type":1,"slug":"exponential-notation"},"prev":{"id":"877f516e-5843-4f6e-a8ab-c134136813c6","name":"Make Palindrome","type":1,"slug":"make-palindrome"}}}
https://codeforces.com/problemset/problem/168/B
{"id":"696d6ed8-e08e-48f4-af67-811d2962600f","name":"Wizards And Minimal Spell","description":"https://codeforces.com/problemset/problem/168/B","inputFormat":"Check the link","outputFormat":"Check the link","constraints":"Check the link","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.io.*;\r\nimport java.util.*;\r\n\r\nimport static java.lang.Math.*;\r\n\r\npublic class Main {\r\n\r\n static BufferedReader in;\r\n static StringTokenizer st;\r\n static PrintWriter out;\r\n\r\n static void solve() throws IOException {\r\n\r\n\r\n }\r\n\r\n\r\n\r\n\r\n\r\n // in = new BufferedReader(new FileReader(\"test.txt\"));\r\n\r\n\r\n\r\n static String ns() throws IOException {\r\n while (st == null || !st.hasMoreTokens())\r\n st = new StringTokenizer(in.readLine());\r\n return st.nextToken();\r\n }\r\n\r\n static int ni() throws IOException {\r\n return Integer.valueOf(ns());\r\n }\r\n\r\n static long nl() throws IOException {\r\n return Long.valueOf(ns());\r\n }\r\n\r\n static double nd() throws IOException {\r\n return Double.valueOf(ns());\r\n }\r\n\r\n public static void main(String[] args) throws IOException {\r\n in = new BufferedReader(new InputStreamReader(System.in));\r\n out = new PrintWriter(System.out);\r\n solve();\r\n in.close();\r\n out.close();\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"easy","sampleInput":"","sampleOutput":"","questionVideo":"","hints":[],"associated":[],"solutionSeen":false,"tags":[],"meta":{"path":[{"id":0,"name":"home"},{"id":"0c54b191-7b99-4f2c-acb3-e7f2ec748b2a","name":"Data Structures and Algorithms","slug":"data-structures-and-algorithms","type":0},{"id":"a2073e25-96a1-4875-b400-f40bbe2edd95","name":"Text Processing For Experts","slug":"text-processing-for-experts-859","type":0},{"id":"766e7dc2-daed-49b8-adaf-f84ccadaa15e","name":"Wizards And Minimal Spell","slug":"wizards-and-minimal-spell","type":1}],"next":{"id":"6ad517c0-9b78-4fed-8d1b-3677208d275d","name":"Exponential Notation","type":1,"slug":"exponential-notation"},"prev":{"id":"877f516e-5843-4f6e-a8ab-c134136813c6","name":"Make Palindrome","type":1,"slug":"make-palindrome"}}}
Editor
Discussions
Show Discussion
Related Resources