one1
one1

Reputation: 67

What is ".in" file in java that is for inputs?

in a Programming Contest, I found at the start of each problem such of these

Program : vote (cpp|java)

Input: vote.in

Baloon Color: Gold

what is the ".in" extension and the Baloon Color ?

Upvotes: 3

Views: 15032

Answers (2)

Ted Hopp
Ted Hopp

Reputation: 234807

The ".in" file extension doesn't have any special meaning as far as Java or C++ is concerned. It's just an extension to indicate (to humans) that it is an input file.

Upvotes: 11

Louis Wasserman
Louis Wasserman

Reputation: 198143

.in is nothing more than something used by programming contests to designate input. The contents are just a plain text file.

Upvotes: 4

Related Questions