Pagini recente » Borderou de evaluare (job #900087) | Borderou de evaluare (job #286024) | Borderou de evaluare (job #1144175) | Borderou de evaluare (job #3150888) | Borderou de evaluare (job #2077580)
Borderou de evaluare (job #2077580)
Raport evaluator
Compilare:
user.cpp: In function ‘bool fit(int, int)’:
user.cpp:23:40: warning: unused variable ‘ya’ [-Wunused-variable]
int xa = a[j].xa - a[j].r, ya = a[j].ya;
^
user.cpp:24:17: warning: unused variable ‘xb’ [-Wunused-variable]
int xb = a[j].xa, yb = a[j].ya + a[j].r;
^
user.cpp:25:40: warning: unused variable ‘yc’ [-Wunused-variable]
int xc = a[j].xa + a[j].r, yc = a[j].ya;
^
user.cpp:26:17: warning: unused variable ‘xd’ [-Wunused-variable]
int xd = a[j].xa, yd = a[j].ya - a[j].r;
^
user.cpp:32:36: warning: unused variable ‘ya’ [-Wunused-variable]
int xa = a[i].xa - a[i].r, ya = a[i].ya;
^
user.cpp:33:13: warning: unused variable ‘xb’ [-Wunused-variable]
int xb = a[i].xa, yb = a[i].ya + a[i].r;
^
user.cpp:34:36: warning: unused variable ‘yc’ [-Wunused-variable]
int xc = a[i].xa + a[i].r, yc = a[i].ya;
^
user.cpp:35: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:61: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:62: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:63:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:65: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:66: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:67: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 | 472kb | OK | 10 |
2 | 0ms | 468kb | OK | 10 |
3 | 0ms | 496kb | OK | 10 |
4 | 4ms | 616kb | OK | 10 |
5 | 8ms | 748kb | OK | 10 |
6 | 28ms | 1532kb | OK | 10 |
7 | 224ms | 5396kb | Incorect | 0 |
8 | 224ms | 5148kb | Incorect | 0 |
9 | 228ms | 5484kb | Incorect | 0 |
10 | 224ms | 5392kb | Incorect | 0 |
Punctaj total | 60 |