Pagini recente » Borderou de evaluare (job #1033912) | Borderou de evaluare (job #1119612) | Borderou de evaluare (job #84512) | Borderou de evaluare (job #931755) | Borderou de evaluare (job #2192279)
Borderou de evaluare (job #2192279)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long double*’ [-Wformat=]
scanf("%d%d",&X,&M);
^
user.cpp:9:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long double*’ [-Wformat=]
user.cpp:13:24: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=]
printf("%.7lf ", 1-X/M);
^
user.cpp:7:35: 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:8:37: 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:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&X,&M);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1312kb | Incorect | 0 |
2 | 0ms | 1316kb | Incorect | 0 |
3 | 0ms | 1316kb | Incorect | 0 |
4 | 0ms | 1312kb | Incorect | 0 |
5 | 0ms | 1316kb | Incorect | 0 |
6 | 0ms | 1312kb | Incorect | 0 |
7 | 0ms | 1316kb | Incorect | 0 |
8 | 0ms | 1312kb | Incorect | 0 |
9 | 0ms | 1316kb | Incorect | 0 |
10 | 0ms | 1316kb | Incorect | 0 |
Punctaj total | 0 |