Pagini recente » Cod sursa (job #178206) | Cod sursa (job #2298509) | Cod sursa (job #2490577) | Cod sursa (job #3264790) | Borderou de evaluare (job #1800758)
Borderou de evaluare (job #1800758)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:2:111: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
using namespace std;ifstream f("scalecrop.in");double x,y,z,w,r;int main(){freopen("scalecrop.out","w",stdout);f>>x>>y>>z>>w;r=max(x/z,y/w);printf("%f %f",z*r,w*r);}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 500kb | OK | 10 | 100 |
| 2 | 0ms | 492kb | OK | 10 |
| 3 | 0ms | 496kb | OK | 10 |
| 4 | 0ms | 500kb | OK | 10 |
| 5 | 0ms | 496kb | OK | 10 |
| 6 | 0ms | 500kb | OK | 10 |
| 7 | 0ms | 500kb | OK | 10 |
| 8 | 0ms | 496kb | OK | 10 |
| 9 | 0ms | 500kb | OK | 10 |
| 10 | 0ms | 496kb | OK | 10 |
| Punctaj total | 100 |