Pagini recente » Borderou de evaluare (job #1010465) | Borderou de evaluare (job #854585) | Borderou de evaluare (job #190220) | Borderou de evaluare (job #778628) | Borderou de evaluare (job #1748492)
Borderou de evaluare (job #1748492)
Raport evaluator
Compilare:
user.cpp: In function ‘int exista(double, double)’:
user.cpp:39:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1) {
^
user.cpp:44:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1) {
^
user.cpp: In function ‘void solve()’:
user.cpp:61:20: warning: unused variable ‘D’ [-Wunused-variable]
double D = sqrt((q.y-p.y)*(q.y-p.y) + (q.x-p.x)*(q.x-p.x));
^
user.cpp:62:20: warning: unused variable ‘msl’ [-Wunused-variable]
double msl = (q.x - p.x) / (q.y-p.y);
^
user.cpp: In function ‘void citire()’:
user.cpp:29:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:31:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf\n", &a[i].x, &a[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:78:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triang.in", "r", stdin);
^
user.cpp:79:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triang.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 500kb | Ok! | 10 |
2 | 20ms | 504kb | Ok! | 10 |
3 | 32ms | 500kb | Ok! | 10 |
4 | 112ms | 496kb | Ok! | 10 |
5 | 148ms | 496kb | Ok! | 10 |
6 | 184ms | 500kb | Ok! | 10 |
7 | 376ms | 496kb | Ok! | 10 |
8 | 452ms | 500kb | Ok! | 10 |
9 | 612ms | 500kb | Ok! | 10 |
10 | 0ms | 504kb | Ok! | 10 |
Punctaj total | 100 |