ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

How use scanf for read short?
Posted by hoan 3 Jan 2011 15:12
how i can read short ineger in C ++ with scanf ?
i know that we can use "%d", for this but it's the only way to do this ??? (i think other way exist because my compiler has write warning for this:
short n;
scanf ("%d", &n);

sorry for my very poor english.


Edited by author 04.01.2011 18:55
Re: How use scanf for read short?
Posted by hoan 3 Jan 2011 22:49
please HELP!!!!
thanx.

Edited by author 04.01.2011 18:55