Borderou de evaluare (job #1783439)

Utilizator N00bSh4d0wRodion Raskolnikov N00bSh4d0w Data 18 octombrie 2016 23:51:18
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:37:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d %d %d",&adun,&incep,&sfas); ^ user.cpp:37:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:37:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:6:34: 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:7:36: 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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms164kbKilled by signal 11(SIGSEGV).0
20ms160kbKilled by signal 11(SIGSEGV).0
30ms160kbKilled by signal 11(SIGSEGV).0
40ms164kbKilled by signal 11(SIGSEGV).0
50ms164kbKilled by signal 11(SIGSEGV).0
60ms160kbKilled by signal 11(SIGSEGV).0
70ms160kbKilled by signal 11(SIGSEGV).0
80ms168kbKilled by signal 11(SIGSEGV).0
90ms164kbKilled by signal 11(SIGSEGV).0
100ms164kbKilled by signal 11(SIGSEGV).0
110ms168kbKilled by signal 11(SIGSEGV).0
120ms164kbKilled by signal 11(SIGSEGV).0
130ms164kbKilled by signal 11(SIGSEGV).0
140ms160kbKilled by signal 11(SIGSEGV).0
150ms168kbKilled by signal 11(SIGSEGV).0
160ms164kbKilled by signal 11(SIGSEGV).0
170ms164kbKilled by signal 11(SIGSEGV).0
180ms164kbKilled by signal 11(SIGSEGV).0
190ms160kbKilled by signal 11(SIGSEGV).0
200ms164kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?