Borderou de evaluare (job #1225111)

Utilizator ion2014ionescu ion ion2014 Data 31 august 2014 23:29:25
Problema Training Dummy Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:11:22: error: ‘long long’ invalid for ‘sol’ long long double sol; ^ user.cpp:25:28: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=] printf("%llf\n",sol); ^ 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("dummy.in", "r", stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dummy.out", "w", stdout); ^ user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:17:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &s, &x, &y); ^

Ceva nu functioneaza?