I got it.
Use "while(cin >> k)" instead of "while(!cin.eof())", and I got AC.
Thanks.
Search found 4 matches
- Sat May 05, 2007 11:30 am
- Forum: Volume 107 (10700-10799)
- Topic: 10719 - Quotient Polynomial
- Replies: 51
- Views: 25053
- Tue May 01, 2007 7:41 am
- Forum: Volume 103 (10300-10399)
- Topic: 10324 - Zeros and Ones
- Replies: 179
- Views: 66955
- Tue Apr 24, 2007 9:06 am
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101748
- Mon Apr 23, 2007 6:12 am
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101748