Borderou de evaluare (job #1254930)

Utilizator VladutZ94FMI Chichirau Vlad Vasile VladutZ94 Data 3 noiembrie 2014 19:31:41
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in","r",stdin); ^ user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:31:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a0.val); ^ user.cpp:36:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a1.val); ^ user.cpp:41:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a2.val); ^ user.cpp: In function ‘int main()’: user.cpp:61:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out","w",stdout); ^ user.cpp:52:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(pas+poz<n&&v[pas+poz]<=x) ^ user.cpp:60:9: note: ‘x’ was declared here int x; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbIncorect00
24ms256kbIncorect00
3Depăşit224kbTime limit exceeded.00
4Depăşit236kbTime limit exceeded.00
50ms264kbWall time limit exceeded.00
60ms268kbWall time limit exceeded.0
70ms264kbWall time limit exceeded.00
80ms264kbWall time limit exceeded.0
90ms260kbWall time limit exceeded.0
100ms268kbWall time limit exceeded.0
Punctaj total0

Ceva nu functioneaza?