Borderou de evaluare (job #2086564)

Utilizator razvanradulescuRadulescu Razvan razvanradulescu Data 12 decembrie 2017 10:45:29
Problema Bere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:98:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d\n", &n, &t); ^ user.cpp:98:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void rez()’: user.cpp:42:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ", &bere[i]); ^ user.cpp:89:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld\n", &k, &x); ^ user.cpp: In function ‘int main()’: user.cpp:96:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("br.in", "r", stdin); ^ user.cpp:97:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("br.out", "w", stdout); ^ user.cpp:98:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &t); ^ user.cpp: In function ‘void rez()’: user.cpp:82:19: warning: ‘lg’ may be used uninitialized in this function [-Wmaybe-uninitialized] long long int lg; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit404kbTime limit exceeded.0
2Depăşit436kbTime limit exceeded.0
3Depăşit420kbTime limit exceeded.0
4Depăşit444kbTime limit exceeded.0
5Depăşit436kbTime limit exceeded.0
6Depăşit468kbTime limit exceeded.0
7Depăşit624kbTime limit exceeded.0
8Depăşit752kbTime limit exceeded.0
9Depăşit808kbTime limit exceeded.0
10Depăşit872kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?