6 edited tags
5 clarified that highest score wins

## The challenge:

Write a very short program that, when compiled, creates the most amount of compiler warnings and errors. It can be written in any programming language.

## Scoring:

The score is determined by this equation: errors_and_warnings_length/code_length. Highest score wins.

## Example:

The C# program class is 5 chars long and generates 3 warnings, which is a score of (1/5)*3 = 0.6.

## EDIT:

Because of some confusion, programs have to be at least 1 char long. Otherwise it would get a score of infinity.

## The challenge:

Write a very short program that, when compiled, creates the most amount of compiler warnings and errors. It can be written in any programming language.

## Scoring:

The score is determined by this equation: errors_and_warnings_length/code_length

## Example:

The C# program class is 5 chars long and generates 3 warnings, which is a score of (1/5)*3 = 0.6.

## EDIT:

Because of some confusion, programs have to be at least 1 char long. Otherwise it would get a score of infinity.

## The challenge:

Write a very short program that, when compiled, creates the most amount of compiler warnings and errors. It can be written in any programming language.

## Scoring:

The score is determined by this equation: errors_and_warnings_length/code_length. Highest score wins.

## Example:

The C# program class is 5 chars long and generates 3 warnings, which is a score of (1/5)*3 = 0.6.

## EDIT:

Because of some confusion, programs have to be at least 1 char long. Otherwise it would get a score of infinity.

4 Makes more sense

## The challenge:

Write a very short program that, when compiled, creates the most amount of compiler warnings and errors. It can be written in any programming language.

## Scoring:

The score is determined by this equation: (1errors_and_warnings_length/length)*errors_and_warningscode_length

## Example:

The C# program class is 5 chars long and generates 3 warnings, which is a score of (1/5)*3 = 0.6.

## EDIT:

Because of some confusion, programs have to be at least 1 char long. Otherwise it would get a score of infinity.

## The challenge:

Write a very short program that, when compiled, creates the most amount of compiler warnings and errors. It can be written in any programming language.

## Scoring:

The score is determined by this equation: (1/length)*errors_and_warnings

## Example:

The C# program class is 5 chars long and generates 3 warnings, which is a score of (1/5)*3 = 0.6.

## EDIT:

Because of some confusion, programs have to be at least 1 char long. Otherwise it would get a score of infinity.

## The challenge:

Write a very short program that, when compiled, creates the most amount of compiler warnings and errors. It can be written in any programming language.

## Scoring:

The score is determined by this equation: errors_and_warnings_length/code_length

## Example:

The C# program class is 5 chars long and generates 3 warnings, which is a score of (1/5)*3 = 0.6.

## EDIT:

Because of some confusion, programs have to be at least 1 char long. Otherwise it would get a score of infinity.

3 added 130 characters in body