Borderou de evaluare (job #1988556)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 3 iunie 2017 13:38:42
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:72:19: warning: unused variable ‘mid’ [-Wunused-variable] int st,dr,mid,sol; ^ user.cpp:69:9: warning: unused variable ‘ind’ [-Wunused-variable] int ind=1,lft=1; ^ user.cpp: In function ‘int main()’: user.cpp:102: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:103: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:104: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:107:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&a[i]); ^ user.cpp:111:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&b[i]); ^ user.cpp:96:18: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized] lft=sol+1; ^ user.cpp:72:23: note: ‘sol’ was declared here int st,dr,mid,sol; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK10
2252ms5356kbOK10
3252ms5360kbOK10
4132ms41056kbOK10
5128ms41052kbOK10
6Depăşit41016kbTime limit exceeded.0
7Depăşit41012kbTime limit exceeded.0
8Depăşit41016kbTime limit exceeded.0
9Depăşit41020kbTime limit exceeded.0
100ms460kbOK10
Punctaj total60

Ceva nu functioneaza?