Twice I got TL with time 0.031 and 0.015 respectively. Who knows what does it mean?;)
http://acm-judge.usu.ru/status.aspx?space=1&num=1804&author=89474
# | User | Rating |
---|---|---|
1 | tourist | 3757 |
2 | jiangly | 3647 |
3 | Benq | 3581 |
4 | orzdevinwang | 3570 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | Radewoosh | 3509 |
8 | ecnerwala | 3486 |
9 | jqdai0815 | 3474 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 171 |
2 | awoo | 165 |
3 | adamant | 163 |
4 | TheScrasse | 159 |
5 | maroonrk | 155 |
6 | nor | 154 |
7 | -is-this-fft- | 152 |
8 | Petr | 147 |
9 | orz | 146 |
10 | pajenegod | 145 |
Twice I got TL with time 0.031 and 0.015 respectively. Who knows what does it mean?;)
http://acm-judge.usu.ru/status.aspx?space=1&num=1804&author=89474
Name |
---|
and you can write this in top of your code:
#define _GLIBCXX_DEBUG
when you wrote this code, your programm returns RE when you using indices, which are out of range
#include <cstdio>
int main()
{
}
It works without any errors on my g++ 4.4.5.
The only reliable way to have runtime indices check I know is using std::vector and .at(). But it is a bit slower.
As I have already told - check indices carefully.
for (int j=0;j<3;j++) cin>>mas[i];
And i may be larger than 4.