Pagini recente » Borderou de evaluare (job #1508111) | Borderou de evaluare (job #922858) | Borderou de evaluare (job #631628) | Borderou de evaluare (job #1167645) | Borderou de evaluare (job #1221277)
Borderou de evaluare (job #1221277)
Raport evaluator
Compilare:
user.cpp: In member function ‘void ramase::add_point(int)’:
user.cpp:57:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (topX.size() > n / 3) {
^
user.cpp: In member function ‘void ramase::remove_point(int)’:
user.cpp:66:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (topX.size() < n / 3 && R.size() > 0) {
^
user.cpp: In function ‘int main()’:
user.cpp:139:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() > n / 3) {
^
user.cpp:144:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:144:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:120:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri.in", "r", stdin);
^
user.cpp:121:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri.out", "w", stdout);
^
user.cpp:122:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld %lld %lld %lld", &C.x, &C.y, &A.x, &A.y, &B.x, &B.y);
^
user.cpp:123:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:125:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &v[i].x, &v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 652kb | Bravo! | 5 |
2 | 0ms | 616kb | Fisier de iesire incomplet | 0 |
3 | Depăşit | 608kb | Time limit exceeded. | 0 |
4 | 0ms | 656kb | Fisier de iesire incomplet | 0 |
5 | 0ms | 640kb | Fisier de iesire incomplet | 0 |
6 | 4ms | 692kb | Bravo! | 5 |
7 | Depăşit | 620kb | Time limit exceeded. | 0 |
8 | 4ms | 692kb | Bravo! | 5 |
9 | 0ms | 668kb | Bravo! | 5 |
10 | 0ms | 640kb | Bravo! | 5 |
11 | 0ms | 640kb | Bravo! | 5 |
12 | 12ms | 792kb | Bravo! | 5 |
13 | 12ms | 804kb | Bravo! | 5 |
14 | Depăşit | 816kb | Time limit exceeded. | 0 |
15 | 20ms | 900kb | Fisier de iesire incomplet | 0 |
16 | 24ms | 944kb | Fisier de iesire incomplet | 0 |
17 | 28ms | 960kb | Fisier de iesire incomplet | 0 |
18 | Depăşit | 1016kb | Time limit exceeded. | 0 |
19 | 40ms | 1060kb | Bravo! | 5 |
20 | Depăşit | 1016kb | Time limit exceeded. | 0 |
Punctaj total | 45 |