You are not logged in. Please login at www.codechef.com to post your questions!

×

compilation error in lead game

Here's the code: https://ideone.com/24Uv2T the error is:error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded="" function="" type="">')

asked 06 Feb '15, 20:04

baher96's gravatar image

0★baher96
1
accept rate: 0%


The variable max has been defined inside your for loop. Initialize it before your for loop and your code should be able to run.

Also please put your program language as a tag when you ask questions.

link

answered 08 Feb '15, 14:26

arun_as's gravatar image

1★arun_as
7413618
accept rate: 10%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • 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:

×19

question asked: 06 Feb '15, 20:04

question was seen: 571 times

last updated: 08 Feb '15, 14:26