Pagini recente » Borderou de evaluare (job #114382) | Borderou de evaluare (job #1224030) | Borderou de evaluare (job #331213) | Borderou de evaluare (job #2844757) | Borderou de evaluare (job #1802059)
Borderou de evaluare (job #1802059)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:29: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
if(x>m) printf("%.7lf",0);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noroc.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noroc.out","w",stdout);
^
user.cpp:8:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&x,&m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 0ms | 480kb | OK | 10 |
6 | 0ms | 480kb | OK | 10 |
7 | 0ms | 476kb | OK | 10 |
8 | 0ms | 484kb | OK | 10 |
9 | 0ms | 480kb | OK | 10 |
10 | 0ms | 480kb | OK | 10 |
Punctaj total | 100 |