PPXOASO - XÓA SỐ
Cho 1 số nguyên N (tối đa 1000 chữ số). Hãy tìm số lớn nhất có được sau khi xóa 1 chữ số trong N.
For an integer N (1000 digits). Look for the largest number by deleting one digit in N.
Input
- Dòng đầu chứa T (T<100) là số bộ test.
- The first line contains T (T <100) is the number of test cases.
- T dòng sau mỗi dòng chứa 1 số nguyên dương N (N>9) không quá 1000 chữ số.
- T line after each line contains an integer N (N> 9) of no more than 1000 words.
Output
- T dòng, mỗi dòng chứa 1 kết quả tương ứng.
- T lines, each containing a corresponding result.
Example
Input: 3 2013 4673 10 Output: 213 673 1
hide comments
Mitch Schwartz:
2013-08-09 23:07:49
I think you chose "none" for "placement in main problem set". But if you want to make a problem visible, please at least solve several problems first, to get a better of idea of how things work and what constitutes a good problem. I really don't want to write 10 comments for each problem you try to publish. |
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-09 20:54:36
http://www.spoj.com/problems/PPDTANG1/
|
|
Mitch Schwartz:
2013-08-09 13:58:02
Are you asking why a particular problem is hidden (if so, which one?), or are you asking in general about why problems get hidden? |
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-09 12:55:11
@Mitch Schwartz why other problem is hiden?? |
|
Mitch Schwartz:
2013-08-08 23:36:13
Ok, problem visible again. |
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-08 13:54:30
I have done |
|
Mitch Schwartz:
2013-08-07 12:12:48
See my previous comment.
|
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-07 07:45:50
i update all rejudge.please check again. |
|
Mitch Schwartz:
2013-08-05 12:04:32
My submissions 9760779 and 9767299 are identical, but one has NZEC and the other AC. That means you did not do the rejudge correctly. |
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-05 06:14:09
i added Rejudge.please check again! |
Added by: | Phạm Quang Chiến PROPTIT_D12CN2 |
Date: | 2013-07-23 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |
Resource: | chienptit.94 |