Borderou de evaluare (job #1769816)

Utilizator eragon0502Dumitrescu Dragos eragon0502 Data 3 octombrie 2016 11:00:07
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:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:32: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:32:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:32: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:26: 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ăşit236kbTime limit exceeded.0
2Depăşit244kbTime limit exceeded.0
3Depăşit240kbTime limit exceeded.0
4Depăşit240kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit280kbTime limit exceeded.0
7Depăşit328kbTime limit exceeded.0
8Depăşit360kbTime limit exceeded.0
9Depăşit636kbTime limit exceeded.0
10Depăşit1028kbTime limit exceeded.0
11Depăşit1804kbTime limit exceeded.0
12Depăşit2588kbTime limit exceeded.0
13Depăşit3372kbTime limit exceeded.0
14Depăşit4152kbTime limit exceeded.0
15Depăşit19776kbTime limit exceeded.0
16Depăşit21728kbTime limit exceeded.0
17Depăşit21728kbTime limit exceeded.0
181376ms23676kbKilled by signal 11(SIGSEGV).0
191376ms23680kbKilled by signal 11(SIGSEGV).0
201416ms23684kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?