Borderou de evaluare (job #1831815)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 18 decembrie 2016 20:16:28
Problema Ubercool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&T); ^ user.cpp:43:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&N); ^ user.cpp:40:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&T); ^ user.cpp:43:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^ user.cpp: In function ‘long long int getrad(long long int)’: user.cpp:15:16: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized] mid=(st+dr)/2; ^ user.cpp: In function ‘int main()’: user.cpp:15:16: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:12:15: note: ‘st’ was declared here long long st,dr=X,mid,last=-1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit832kbTime limit exceeded.0
2276ms832kbIncorect0
3Depăşit836kbTime limit exceeded.0
4Depăşit832kbTime limit exceeded.0
5Depăşit836kbTime limit exceeded.0
6Depăşit836kbTime limit exceeded.0
7Depăşit840kbTime limit exceeded.0
8Depăşit836kbTime limit exceeded.0
9Depăşit836kbTime limit exceeded.0
1032ms832kbIncorect0
Punctaj total0

Ceva nu functioneaza?