Pagini recente » Borderou de evaluare (job #943) | Borderou de evaluare (job #3243104) | Borderou de evaluare (job #3280412) | Borderou de evaluare (job #1233030) | Borderou de evaluare (job #1220985)
Borderou de evaluare (job #1220985)
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:145:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() > n / 3) {
^
user.cpp:150:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:150:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (T1.size() != n / 3 || R.topX.size() != n / 3) continue;
^
user.cpp:126: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:127: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:128: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:129:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:131: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 | Bravo! | 5 |
2 | 0ms | 644kb | G nu e in triunghi | 0 |
3 | 0ms | 616kb | Fisier de iesire incomplet | 0 |
4 | 4ms | 688kb | G nu e in triunghi | 0 |
5 | 0ms | 664kb | raspuns gresit | 0 |
6 | 4ms | 692kb | raspuns gresit | 0 |
7 | 0ms | 612kb | Fisier de iesire incomplet | 0 |
8 | 4ms | 684kb | raspuns gresit | 0 |
9 | 0ms | 668kb | raspuns gresit | 0 |
10 | 0ms | 640kb | raspuns gresit | 0 |
11 | 0ms | 640kb | raspuns gresit | 0 |
12 | 12ms | 796kb | raspuns gresit | 0 |
13 | 12ms | 800kb | raspuns gresit | 0 |
14 | 24ms | 816kb | Fisier de iesire incomplet | 0 |
15 | 24ms | 936kb | G nu e in triunghi | 0 |
16 | 28ms | 972kb | raspuns gresit | 0 |
17 | 32ms | 996kb | raspuns gresit | 0 |
18 | 52ms | 1016kb | Fisier de iesire incomplet | 0 |
19 | 40ms | 1056kb | raspuns gresit | 0 |
20 | 52ms | 1016kb | Fisier de iesire incomplet | 0 |
Punctaj total | 5 |