Pagini recente » Borderou de evaluare (job #3143352) | Borderou de evaluare (job #2713720) | Borderou de evaluare (job #2932843) | Borderou de evaluare (job #1766370) | Borderou de evaluare (job #1407554)
Borderou de evaluare (job #1407554)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:23: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
printf("%.9lf\n", 1);
^
user.cpp:29:23: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
printf("%.9lf\n", 0);
^
user.cpp:11:9: warning: unused variable ‘prob’ [-Wunused-variable]
double prob, ans;
^
user.cpp:11:15: warning: unused variable ‘ans’ [-Wunused-variable]
double prob, ans;
^
user.cpp:7: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:8: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:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:17:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &x);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 256ms | 660kb | Incorect | 0 |
Punctaj total | 0 |