Borderou de evaluare (job #1686836)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 12 aprilie 2016 14:32:44
Problema Ksecv4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int caut(int, int)’: user.cpp:29:15: warning: unused variable ‘step’ [-Wunused-variable] long long step, val = st; ^ user.cpp:29:21: warning: unused variable ‘val’ [-Wunused-variable] long long step, val = st; ^ user.cpp:30:15: warning: unused variable ‘mini’ [-Wunused-variable] long long mini = v[st], maxi = v[dr]; ^ user.cpp:30:29: warning: unused variable ‘maxi’ [-Wunused-variable] long long mini = v[st], maxi = v[dr]; ^ user.cpp: In function ‘void solve()’: user.cpp:81:14: warning: statement has no effect [-Wunused-value] for (step; step; step >>= 1) { ^ user.cpp: In function ‘void citire()’: user.cpp:14:34: 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:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &A[i]); ^ user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &B[i]); ^ user.cpp: In function ‘int main()’: user.cpp:93:37: 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:94:39: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit452kbTime limit exceeded.0
2Depăşit5332kbTime limit exceeded.0
3Depăşit5328kbTime limit exceeded.0
4Depăşit41028kbTime limit exceeded.0
5Depăşit41032kbTime limit exceeded.0
6Depăşit41028kbTime limit exceeded.0
7Depăşit41028kbTime limit exceeded.0
8Depăşit41028kbTime limit exceeded.0
9Depăşit41028kbTime limit exceeded.0
10Depăşit428kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?