Pagini recente » Borderou de evaluare (job #1152653) | Borderou de evaluare (job #3194455) | Borderou de evaluare (job #1709017) | Borderou de evaluare (job #667492) | Borderou de evaluare (job #1984521)
Borderou de evaluare (job #1984521)
Raport evaluator
Compilare:
user.cpp: In function ‘bool intersect(int, int, int&)’:
user.cpp:64:27: warning: narrowing conversion of ‘from[j].Point::x’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
inter[ninter] = {from[j].x, from[j].y};
^
user.cpp:64:27: warning: narrowing conversion of ‘from[j].Point::y’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
user.cpp:73:27: warning: narrowing conversion of ‘to[j].Point::x’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
inter[ninter] = {to[j].x, to[j].y};
^
user.cpp:73:27: warning: narrowing conversion of ‘to[j].Point::y’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
user.cpp:82:27: warning: narrowing conversion of ‘from[i].Point::x’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
inter[ninter] = {from[i].x, from[i].y};
^
user.cpp:82:27: warning: narrowing conversion of ‘from[i].Point::y’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
user.cpp:91:27: warning: narrowing conversion of ‘to[i].Point::x’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
inter[ninter] = {to[i].x, to[i].y};
^
user.cpp:91:27: warning: narrowing conversion of ‘to[i].Point::y’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
user.cpp: In function ‘bool insidepolygon(Point, int, int, int&)’:
user.cpp:129:23: warning: narrowing conversion of ‘p.Point::x’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
inter[ninter] = {p.x, p.y};
^
user.cpp:129:23: warning: narrowing conversion of ‘p.Point::y’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
user.cpp: In function ‘bool intersect(int, int, int&)’:
user.cpp:118:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:204:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:206:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &p[i].x, &p[i].y);
^
user.cpp:216:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &m);
^
user.cpp:218:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &q[i].x, &q[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 408kb | Time limit exceeded. | 0 |
2 | 0ms | 468kb | OK | 10 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 0ms | 468kb | OK | 10 |
6 | 0ms | 464kb | OK | 10 |
7 | 0ms | 464kb | OK | 10 |
8 | 0ms | 464kb | OK | 10 |
9 | 0ms | 464kb | OK | 10 |
10 | 0ms | 464kb | OK | 10 |
Punctaj total | 90 |