Borderou de evaluare (job #1988548)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 3 iunie 2017 13:21:04
Problema Ksecv4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp:13:1: warning: ‘typedef’ was ignored in this declaration [enabled by default] }; ^ user.cpp: In function ‘bool Check(long long int)’: user.cpp:66:19: warning: unused variable ‘mid’ [-Wunused-variable] int st,dr,mid,sol; ^ user.cpp:63:9: warning: unused variable ‘ind’ [-Wunused-variable] int ind=1,lft=1; ^ user.cpp: In function ‘int main()’: user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksecv4.in","r",stdin); ^ user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksecv4.out","w",stdout); ^ user.cpp:88:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&k,&m); ^ user.cpp:91:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&a[i]); ^ user.cpp:95:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&b[i]); ^ user.cpp:80:18: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized] lft=sol+1; ^ user.cpp:66:23: note: ‘sol’ was declared here int st,dr,mid,sol; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbOK10
2240ms5368kbOK10
3240ms5364kbOK10
4128ms41068kbOK10
5128ms41064kbOK10
6Depăşit41028kbTime limit exceeded.0
7Depăşit41024kbTime limit exceeded.0
8Depăşit41032kbTime limit exceeded.0
9Depăşit41024kbTime limit exceeded.0
100ms460kbOK10
Punctaj total60

Ceva nu functioneaza?