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-02 20:58:11
I'm just waiting for a rejudge; see http://www.spoj.com/tutorials/PS/#edit toward the bottom of that section; you may search the page for "Rejudge".
|
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-02 17:50:46
please unhide my problem because i fixed my problem.
|
|
Mitch Schwartz:
2013-08-02 15:39:33
Rejudge means to evaluate previous submissions again, so if you do a rejudge then my NZEC will turn into AC, and similarly for other users.
|
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-02 14:39:41
@Mitch Schwartz i fixed my problem.
|
|
Mitch Schwartz:
2013-08-02 14:31:11
The test data seems ok, thanks for fixing that. :) Before I unhide, please:
|
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-02 14:31:11
please check my problem and unhide my problem |
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-02 14:31:11
@Mitch Schwartz you're right! thank you very much.I will check carefully before upload. |
|
Mitch Schwartz:
2013-08-02 14:31:11
@Phạm Quang Chiến PROPTIT_D12CN2: Just because there are people who got AC doesn't mean test data is correct. As my NZEC just now indicates, there is an input file that is either empty or completely filled with whitespace. My guess is that you kept the default test case #0 (with 0 byte input file and 0 byte output file), which of course is invalid. People only got AC because they found a workaround. (And I got AC on first try because I read the comments and guessed the issue.) To me it's extremely annoying that several people pointed out the issue to you and you insist on thinking you're right and everyone else is wrong, when you obviously didn't look into it. You should try solving some problems before publishing. If it were up to me I would revoke your problem setting privileges. Last edit: 2013-08-01 10:30:51 |
|
Phạm Quang Chiến PROPTIT_D12CN2:
2013-08-02 14:31:11
now there are twelve people do this exercise, so you check your answers please ! |
|
Mitch Schwartz:
2013-08-02 14:31:11
Problem hidden. See comments below mine for why. You may make appropriate changes and leave a new comment asking for the problem to be made visible 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 |