Borderou de evaluare (job #1868554)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 4 februarie 2017 23:52:38
Problema Noname2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &n, &k); ^ user.cpp:55:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname2.in", "r", stdin); ^ user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname2.out", "w", stdout); ^ user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:57:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[i]); ^ user.cpp: In function ‘long long int bs(long long int, long long int)’: user.cpp:50:10: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized] return last; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms276kbOK10
30ms284kbOK10
40ms292kbOK10
5Depăşit1836kbTime limit exceeded.0
6Depăşit1828kbTime limit exceeded.0
7Depăşit1820kbTime limit exceeded.0
8Depăşit1828kbTime limit exceeded.0
9Depăşit1824kbTime limit exceeded.0
10392ms1840kbOK10
Punctaj total50

Ceva nu functioneaza?