Borderou de evaluare (job #1685384)

Utilizator SmarandaMaria Pandele Smaranda Data 11 aprilie 2016 17:28:25
Problema Comisia Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ("%d", &b [i]); ^ user.cpp:54:39: warning: unused variable ‘s’ [-Wunused-variable] long long smin = 200000000000002, s = 0; ^ user.cpp:55:15: warning: unused variable ‘st’ [-Wunused-variable] int l, i, st, u, p, n, sss, k; ^ user.cpp:55:19: warning: unused variable ‘u’ [-Wunused-variable] int l, i, st, u, p, n, sss, k; ^ user.cpp:55:22: warning: unused variable ‘p’ [-Wunused-variable] int l, i, st, u, p, n, sss, k; ^ user.cpp:55:28: warning: unused variable ‘sss’ [-Wunused-variable] int l, i, st, u, p, n, sss, k; ^ user.cpp:55:33: warning: unused variable ‘k’ [-Wunused-variable] int l, i, st, u, p, n, sss, k; ^ user.cpp:58:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("comisia.in", "r", stdin); ^ user.cpp:59:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("comisia.out", "w", stdout); ^ user.cpp:61:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:63:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a [i]); ^ user.cpp:69:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &b [i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms552kbOK1020
28ms560kbOK10
3Depăşit14012kbTime limit exceeded.00
4Depăşit13460kbTime limit exceeded.0
5Depăşit14020kbTime limit exceeded.0
6Depăşit13984kbTime limit exceeded.0
7Depăşit13460kbTime limit exceeded.00
8Depăşit13996kbTime limit exceeded.0
9Depăşit14024kbTime limit exceeded.0
10Depăşit14028kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?