Pagini recente » Borderou de evaluare (job #2936729) | Borderou de evaluare (job #2858784) | Borderou de evaluare (job #1904392) | Borderou de evaluare (job #1645279) | Borderou de evaluare (job #1220979)
Borderou de evaluare (job #1220979)
Raport evaluator
Compilare:
user.cpp: In member function ‘void ramase::add_point(int)’:
user.cpp:56: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:65: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:138:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() > n / 3) {
^
user.cpp:143:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:143:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:156:12: warning: unused variable ‘x1’ [-Wunused-variable]
double x1 = getPX(p1);
^
user.cpp:119: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:120: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:121: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:122:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:124: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 | 644kb | raspuns gresit | 0 |
2 | 0ms | 644kb | raspuns gresit | 0 |
3 | 0ms | 660kb | raspuns gresit | 0 |
4 | 0ms | 688kb | raspuns gresit | 0 |
5 | 0ms | 664kb | raspuns gresit | 0 |
6 | 0ms | 688kb | raspuns gresit | 0 |
7 | 0ms | 656kb | raspuns gresit | 0 |
8 | 0ms | 688kb | raspuns gresit | 0 |
9 | 0ms | 664kb | raspuns gresit | 0 |
10 | 0ms | 644kb | Bravo! | 5 |
11 | 0ms | 644kb | raspuns gresit | 0 |
12 | 8ms | 792kb | raspuns gresit | 0 |
13 | 12ms | 800kb | raspuns gresit | 0 |
14 | 16ms | 860kb | raspuns gresit | 0 |
15 | 20ms | 932kb | raspuns gresit | 0 |
16 | 24ms | 976kb | raspuns gresit | 0 |
17 | 28ms | 1000kb | raspuns gresit | 0 |
18 | 36ms | 1056kb | raspuns gresit | 0 |
19 | 36ms | 1056kb | raspuns gresit | 0 |
20 | 36ms | 1064kb | raspuns gresit | 0 |
Punctaj total | 5 |