Borderou de evaluare (job #2092833)

Utilizator edward.codarceaEdward Codarcea edward.codarcea Data 22 decembrie 2017 13:55:28
Problema FairAndRectangle Status done
Runda ACS PC Winter Long Challange 2017 - 2018 (I) Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:101:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld, ",f[i]); ^ user.cpp:105:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld, ",fp[i]); ^ user.cpp:7:27: warning: unused variable ‘j’ [-Wunused-variable] long long t, n, m, a, i, j, k, p; ^ user.cpp:4:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("far.in", "r", stdin); ^ user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("far.out", "w", stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &t); ^ user.cpp:45:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld", &n, &m, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms508kbIncorect0
220ms508kbIncorect0
328ms508kbIncorect0
428ms508kbIncorect0
528ms504kbIncorect0
Punctaj total0

Ceva nu functioneaza?