Pagini recente » Borderou de evaluare (job #337915) | Borderou de evaluare (job #291702) | Borderou de evaluare (job #2907306) | Borderou de evaluare (job #949097) | Borderou de evaluare (job #1889065)
Borderou de evaluare (job #1889065)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:3:55: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=]
int main(){fscanf(fopen("noroc.in","r"),"%Lf%Lf",&x,&m),fprintf(fopen("noroc.out","w"),"%.7Lf",x<m?(1-(x/m)):0);}
^
user.cpp:3:55: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 4 has type ‘double*’ [-Wformat=]
user.cpp:3:111: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 3 has type ‘double’ [-Wformat=]
int main(){fscanf(fopen("noroc.in","r"),"%Lf%Lf",&x,&m),fprintf(fopen("noroc.out","w"),"%.7Lf",x<m?(1-(x/m)):0);}
^
user.cpp:3:112: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){fscanf(fopen("noroc.in","r"),"%Lf%Lf",&x,&m),fprintf(fopen("noroc.out","w"),"%.7Lf",x<m?(1-(x/m)):0);}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 320kb | Incorect | 0 |
| 2 | 0ms | 332kb | Incorect | 0 |
| 3 | 0ms | 320kb | Incorect | 0 |
| 4 | 0ms | 332kb | OK | 10 |
| 5 | 0ms | 336kb | OK | 10 |
| 6 | 0ms | 320kb | Incorect | 0 |
| 7 | 0ms | 320kb | Incorect | 0 |
| 8 | 0ms | 320kb | Incorect | 0 |
| 9 | 0ms | 320kb | Incorect | 0 |
| 10 | 0ms | 320kb | Incorect | 0 |
| Punctaj total | 20 |