Pagini recente » Borderou de evaluare (job #2984181) | Borderou de evaluare (job #293409) | Borderou de evaluare (job #803810) | Borderou de evaluare (job #374279) | Borderou de evaluare (job #2079869)
Borderou de evaluare (job #2079869)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:2:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
using namespace std;int X,M;int main(){freopen("noroc.in","r",stdin);freopen("noroc.out","w",stdout);scanf("%d%d", &X, &M);printf("%.7f",max(1-(double)X/M,(double)0));return 0;}
^
user.cpp:2:101: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
using namespace std;int X,M;int main(){freopen("noroc.in","r",stdin);freopen("noroc.out","w",stdout);scanf("%d%d", &X, &M);printf("%.7f",max(1-(double)X/M,(double)0));return 0;}
^
user.cpp:2:123: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
using namespace std;int X,M;int main(){freopen("noroc.in","r",stdin);freopen("noroc.out","w",stdout);scanf("%d%d", &X, &M);printf("%.7f",max(1-(double)X/M,(double)0));return 0;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 452kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 0ms | 448kb | OK | 10 |
| 6 | 0ms | 452kb | OK | 10 |
| 7 | 0ms | 452kb | OK | 10 |
| 8 | 0ms | 452kb | OK | 10 |
| 9 | 0ms | 456kb | OK | 10 |
| 10 | 0ms | 456kb | OK | 10 |
| Punctaj total | 100 |