×

# Getting NZEC in SPATH SPOJ.

 0 This is MY SOLUTION for the problem SPATH, I don't know why I am getting NZEC, anyone please help me to figure out what is wrong with my code. asked 12 Mar '18, 22:03 1★arpit728 683●15●63 accept rate: 10% @vijju123 can you take a look at this. (15 Mar '18, 10:00) arpit7281★

 0 You cannot create arrays of parameterized types. Try replacing static List adj[] = new List[10002];  with static List> adj = new ArrayList<>();  and if you are using The Class List Please import all of its methods as well. Check more here answered 12 Mar '18, 23:40 3★rds_98 45●6 accept rate: 8% @rds_98 If this was the case them my code should not even work locally. (13 Mar '18, 07:09) arpit7281★
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×1,197
×989
×419
×165

question asked: 12 Mar '18, 22:03

question was seen: 201 times

last updated: 15 Mar '18, 10:00