Pagini recente » Borderou de evaluare (job #429094) | Borderou de evaluare (job #2360875) | Borderou de evaluare (job #2365900) | Borderou de evaluare (job #560006) | Borderou de evaluare (job #1407073)
Borderou de evaluare (job #1407073)
Raport evaluator
Compilare:
user.cpp: In function ‘double probability()’:
user.cpp:26:12: warning: unused variable ‘i’ [-Wunused-variable]
long long i;
^
user.cpp: In function ‘int main()’:
user.cpp:61:34: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 2 has type ‘double’ [-Wformat=]
printf("%.7Lf\n", probability());
^
user.cpp:48:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.in", "r", stdin);
^
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.out", "w", stdout);
^
user.cpp:53:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%Lf %Lf %Lf", &N, &M, &X);
^
user.cpp:56:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%Lf", &V);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 412ms | 520kb | Incorect | 0 |
Punctaj total | 0 |