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

×

SCAN LARGE INPUTS

what is the approach to read numbers that don,t fall in predefined data types.

asked 06 Sep, 21:24

mnjn25's gravatar image

2★mnjn25
1
accept rate: 0%

What do you mean by numbers that don,t fall in predefined data types ?

(06 Sep, 21:47) vijju123 ♦4★

ranging above long long int

(06 Sep, 21:50) mnjn252★

Scan them as strings?? You can also use BigInteger template (This should help..) if you need to perform some arithmetic operations on them? Or better use python :p

link

answered 06 Sep, 21:34

kauts_kanu's gravatar image

5★kauts_kanu
1.0k19
accept rate: 19%

edited 06 Sep, 21:39

for c language specifically

(06 Sep, 21:43) mnjn252★

For C.. Not sure.. I hope you would have given google a try.. Or someone else who can help?? @vijju123 ??

(07 Sep, 18:33) kauts_kanu5★

IDK, I am feeling its kind of related to an on going contest. So I cant comment.

(07 Sep, 19:04) vijju123 ♦4★

which type of numbers not come in predefined datatypes

link

answered 07 Sep, 14:06

kunnu123's gravatar image

1★kunnu123
-1
accept rate: 0%

long long int better for larger value

link

answered 07 Sep, 19:07

chita_123's gravatar image

1★chita_123
313
accept rate: 0%

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:

×208
×143

question asked: 06 Sep, 21:24

question was seen: 159 times

last updated: 07 Sep, 19:07