Pagini recente » Borderou de evaluare (job #254709) | Borderou de evaluare (job #3256509) | Borderou de evaluare (job #576549) | Borderou de evaluare (job #2293015) | Borderou de evaluare (job #1220951)
Borderou de evaluare (job #1220951)
Raport evaluator
Compilare:
user.cpp: In member function ‘void ramase::add_point(int)’:
user.cpp:48: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:57: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:112:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d %d %d %d", &C.x, &C.y, &A.x, &A.y, &B.x, &B.y);
^
user.cpp:112:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:112:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:112:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:112:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:112:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=]
user.cpp:115:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &v[i].x, &v[i].y);
^
user.cpp:115:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:129:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() > n / 3) {
^
user.cpp:134:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:134:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:146:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d ", v[*it].x, v[*it].y);
^
user.cpp:146:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:150:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d ", v[*it].x, v[*it].y);
^
user.cpp:150:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:154:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d ", v[*it].x, v[*it].y);
^
user.cpp:154:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:110: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:111: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:112:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d", &C.x, &C.y, &A.x, &A.y, &B.x, &B.y);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 636kb | punct inexistent | 0 |
2 | 0ms | 644kb | punct inexistent | 0 |
3 | 0ms | 652kb | punct inexistent | 0 |
4 | 0ms | 684kb | punct inexistent | 0 |
5 | 0ms | 668kb | punct inexistent | 0 |
6 | 0ms | 688kb | punct inexistent | 0 |
7 | 0ms | 660kb | punct inexistent | 0 |
8 | 0ms | 684kb | punct inexistent | 0 |
9 | 0ms | 656kb | punct inexistent | 0 |
10 | 0ms | 636kb | raspuns gresit | 0 |
11 | 0ms | 632kb | punct inexistent | 0 |
12 | 8ms | 788kb | punct inexistent | 0 |
13 | 8ms | 800kb | punct inexistent | 0 |
14 | 12ms | 856kb | punct inexistent | 0 |
15 | 20ms | 932kb | punct inexistent | 0 |
16 | 20ms | 964kb | punct inexistent | 0 |
17 | 24ms | 996kb | punct inexistent | 0 |
18 | 28ms | 1052kb | punct inexistent | 0 |
19 | 28ms | 1052kb | punct inexistent | 0 |
20 | 28ms | 1052kb | punct inexistent | 0 |
Punctaj total | 0 |