Borderou de evaluare (job #2077597)

Utilizator giotoPopescu Ioan gioto Data 28 noiembrie 2017 12:08:40
Problema Cuiburi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:13: warning: unused variable ‘xa’ [-Wunused-variable] int xa = a[i].xa - a[i].r, ya = a[i].ya; ^ 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:33:27: warning: unused variable ‘yb’ [-Wunused-variable] int xb = a[i].xa, yb = a[i].ya + a[i].r; ^ user.cpp:34:13: warning: unused variable ‘xc’ [-Wunused-variable] int xc = a[i].xa + a[i].r, yc = a[i].ya; ^ 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:35:27: warning: unused variable ‘yd’ [-Wunused-variable] int xd = a[i].xa, yd = a[i].ya - a[i].r; ^ user.cpp: In function ‘int main()’: user.cpp:65: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:66: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:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:69:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i].t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbOK10
20ms492kbOK10
30ms504kbOK10
44ms624kbOK10
58ms764kbOK10
628ms1544kbOK10
7232ms5040kbOK10
8232ms4816kbOK10
9240ms5192kbOK10
10232ms5048kbOK10
Punctaj total100

Ceva nu functioneaza?