Pagini recente » Borderou de evaluare (job #905642) | Borderou de evaluare (job #2295560) | Borderou de evaluare (job #384996) | Borderou de evaluare (job #703884) | Borderou de evaluare (job #2440818)
Borderou de evaluare (job #2440818)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:23:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%f", &a);
^
main.cpp:24:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%f", &b);
^
main.cpp:25:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%f", &x);
^
main.cpp:26:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%f", &y);
^
main.cpp: In function 'int main()':
main.cpp:43:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("distanta.in", "r", stdin);
^
main.cpp:44:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("distanta.out", "w", stdout);
^
main.cpp:47:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 131kb | Raspuns gresit | 0 |
Punctaj total | 0 |