Borderou de evaluare (job #1604431)

Utilizator flandreiFlavius Andrei flandrei Data 18 februarie 2016 11:58:45
Problema Termite Status done
Runda lot2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:98:39: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] scanf("%i %i %lld", &a, &b, &l); ^ user.cpp:82:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("termite.in", "r", stdin); ^ user.cpp:83:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("termite.out", "w", stdout); ^ user.cpp:85:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i %i %i", &n, &m, &k, &q); ^ user.cpp:91:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &x); ^ user.cpp:98:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i %lld", &a, &b, &l); ^ user.cpp:109:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i %lld", &qr[i].a, &qr[i].b, &qr[i].t); ^ user.cpp:156:24: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized] qr[i].ans = ans; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms7356kbIncorect0
268ms7364kbIncorect0
3Depăşit10788kbTime limit exceeded.0
4Depăşit15288kbTime limit exceeded.0
5Depăşit18148kbTime limit exceeded.0
6Depăşit18864kbTime limit exceeded.0
7Depăşit25292kbTime limit exceeded.0
8Depăşit29508kbTime limit exceeded.0
9Depăşit29512kbTime limit exceeded.0
10Depăşit29516kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?