Borderou de evaluare (job #1769815)

Utilizator eragon0502Dumitrescu Dragos eragon0502 Data 3 octombrie 2016 10:57:53
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:26: warning: left shift count >= width of type [enabled by default] long long sc,smax=1<<33,n,i,imax,x,inc,incmax; ^ user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:30:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d %d\n",smax,incmax,imax); ^ user.cpp:30:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:30:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ssm.in","r",stdin); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ssm.out","w",stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit244kbTime limit exceeded.0
2Depăşit240kbTime limit exceeded.0
3Depăşit236kbTime limit exceeded.0
4Depăşit244kbTime limit exceeded.0
5Depăşit268kbTime limit exceeded.0
6Depăşit284kbTime limit exceeded.0
7Depăşit324kbTime limit exceeded.0
8Depăşit368kbTime limit exceeded.0
9Depăşit636kbTime limit exceeded.0
10Depăşit1032kbTime limit exceeded.0
11Depăşit1808kbTime limit exceeded.0
12Depăşit2588kbTime limit exceeded.0
13Depăşit3372kbTime limit exceeded.0
14Depăşit4156kbTime limit exceeded.0
15Depăşit19776kbTime limit exceeded.0
16Depăşit21724kbTime limit exceeded.0
17Depăşit21724kbTime limit exceeded.0
181460ms23680kbKilled by signal 11(SIGSEGV).0
191348ms23680kbKilled by signal 11(SIGSEGV).0
201456ms23680kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?