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
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3839 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3612 |
7 | Geothermal | 3569 |
7 | cnnfls_csy | 3569 |
9 | ecnerwala | 3494 |
10 | Um_nik | 3396 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | Um_nik | 164 |
2 | maomao90 | 160 |
3 | -is-this-fft- | 159 |
4 | atcoder_official | 158 |
4 | awoo | 158 |
4 | cry | 158 |
7 | adamant | 155 |
8 | nor | 154 |
9 | TheScrasse | 153 |
10 | maroonrk | 152 |
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
Название |
---|
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.