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 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | Um_nik | 159 |
4 | atcoder_official | 159 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 150 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
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.