Pagini recente » Borderou de evaluare (job #2734084) | Borderou de evaluare (job #1779746) | Borderou de evaluare (job #2342111) | Borderou de evaluare (job #1961397) | Borderou de evaluare (job #1728483)
Borderou de evaluare (job #1728483)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:20: warning: unused variable ‘p’ [-Wunused-variable]
double a,b,x,y,p,q,dist,xf,yf,alfa=1;
^
user.cpp:10:22: warning: unused variable ‘q’ [-Wunused-variable]
double a,b,x,y,p,q,dist,xf,yf,alfa=1;
^
user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distanta.in","r",stdin);
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distanta.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:16:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf %lf",&a,&b,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 328kb | OK | 100 |
Punctaj total | 100 |