Pagini recente » Borderou de evaluare (job #920145) | Borderou de evaluare (job #2756082) | Borderou de evaluare (job #1188954) | Borderou de evaluare (job #1245283) | Borderou de evaluare (job #2077526)
Borderou de evaluare (job #2077526)
Raport evaluator
Compilare:
user.cpp: In function ‘bool fit(int, int)’:
user.cpp:23:40: warning: unused variable ‘yc’ [-Wunused-variable]
int xc = a[j].xa + a[j].r, yc = a[j].ya;
^
user.cpp:24:17: warning: unused variable ‘xd’ [-Wunused-variable]
int xd = a[j].xa, yd = a[j].ya - a[j].r;
^
user.cpp:39:41: warning: unused variable ‘ya2’ [-Wunused-variable]
int xa2 = a[i].xa - a[i].r, ya2 = a[i].ya;
^
user.cpp:40:17: warning: unused variable ‘xb2’ [-Wunused-variable]
int xb2 = a[i].xa, yb2 = a[i].ya + a[i].r;
^
user.cpp:41:41: warning: unused variable ‘yc2’ [-Wunused-variable]
int xc2 = a[i].xa + a[i].r, yc2 = a[i].ya;
^
user.cpp:42:17: warning: unused variable ‘xd2’ [-Wunused-variable]
int xd2 = a[i].xa, yd2 = a[i].ya - a[i].r;
^
user.cpp:30:36: warning: unused variable ‘ya’ [-Wunused-variable]
int xa = a[i].xa - a[i].r, ya = a[i].ya;
^
user.cpp:31:13: warning: unused variable ‘xb’ [-Wunused-variable]
int xb = a[i].xa, yb = a[i].ya + a[i].r;
^
user.cpp:32:36: warning: unused variable ‘yc’ [-Wunused-variable]
int xc = a[i].xa + a[i].r, yc = a[i].ya;
^
user.cpp:33:13: warning: unused variable ‘xd’ [-Wunused-variable]
int xd = a[i].xa, yd = a[i].ya - a[i].r;
^
user.cpp: In function ‘int main()’:
user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuiburi.in", "r", stdin);
^
user.cpp:51:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuiburi.out", "w", stdout);
^
user.cpp:52:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:54:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i].t);
^
user.cpp:55:82: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(a[i].t == 0) scanf("%d%d%d%d", &a[i].xa, &a[i].ya, &a[i].xb, &a[i].yb);
^
user.cpp:56:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf("%d%d%d", &a[i].xa, &a[i].ya, &a[i].r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Incorect | 0 |
2 | 0ms | 440kb | Incorect | 0 |
3 | 0ms | 440kb | Incorect | 0 |
4 | 0ms | 448kb | Incorect | 0 |
5 | 8ms | 460kb | Incorect | 0 |
6 | 32ms | 476kb | Incorect | 0 |
7 | 132ms | 500kb | Incorect | 0 |
8 | 132ms | 500kb | Incorect | 0 |
9 | 132ms | 500kb | Incorect | 0 |
10 | 132ms | 504kb | Incorect | 0 |
Punctaj total | 0 |