Borderou de evaluare (job #2131573)

Utilizator vladcainamisirVlad Cainamisir vladcainamisir Data 14 februarie 2018 19:38:12
Problema Qvect Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int q2(long long int, long long int, long long int)’: user.cpp:25:15: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] long long i, j, s, d, val, nr, k, ok, nr0, rez, sol; ^ user.cpp: In function ‘int main()’: user.cpp:63:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:67:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i][j]); ^ user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qvect.in","r",stdin); ^ user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qvect.out","w",stdout); ^ user.cpp:60:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&n,&q); ^ user.cpp:63:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:67:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ user.cpp:72:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld",&op,&x,&y); ^ user.cpp: In function ‘long long int q2(long long int, long long int, long long int)’: user.cpp:25:48: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized] long long i, j, s, d, val, nr, k, ok, nr0, rez, sol; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit932kbTime limit exceeded.0
2Depăşit932kbTime limit exceeded.0
3Depăşit1416kbTime limit exceeded.0
4176ms4556kbKilled by signal 11(SIGSEGV).0
5Depăşit864kbTime limit exceeded.0
6Depăşit1060kbTime limit exceeded.0
7152ms4560kbKilled by signal 11(SIGSEGV).0
8Depăşit1096kbTime limit exceeded.0
9Depăşit3768kbTime limit exceeded.0
10Depăşit3956kbTime limit exceeded.0
11Depăşit4020kbTime limit exceeded.0
12Depăşit3772kbTime limit exceeded.0
13Depăşit4052kbTime limit exceeded.0
14Depăşit4152kbTime limit exceeded.0
15180ms4556kbKilled by signal 11(SIGSEGV).0
16Depăşit4240kbTime limit exceeded.0
17Depăşit3768kbTime limit exceeded.0
18Depăşit3768kbTime limit exceeded.0
19180ms4556kbKilled by signal 11(SIGSEGV).0
20180ms4560kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?