Pagini recente » Borderou de evaluare (job #432392) | Borderou de evaluare (job #2244303) | Borderou de evaluare (job #2357804) | Borderou de evaluare (job #772209) | Borderou de evaluare (job #1405968)
Borderou de evaluare (job #1405968)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:36: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
printf("%.7llf\n", (double)sum);
^
user.cpp:25:34: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
printf("%.7llf\n",(double)m/sum);
^
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:9:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:12:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &n, &m, &x);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 288ms | 280kb | Incorect | 0 |
Punctaj total | 0 |