| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
不能In Reply To:问个比较弱智的问题? Posted by:polisan at 2007-01-30 19:12:02 > 是不是 scanf()和cin>> 两个不能混用啊?
> 刚才过1037时,使用以下
> "
> void main()
> {
> int t;
> cin>>t;
> //scanf("%d", &t);
> fillMap();
> while(t--){
> scanf("%d %I64d",&n,&c);
> ......."
> 就会WA
> 而用
> "
> void main()
> {
> int t;
> //cin>>t;
> scanf("%d", &t);
> fillMap();
> while(t--){
> scanf("%d %I64d",&n,&c);
> .............."
> 就过了,这是什么原因啊?
> 谢谢啦
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator