Borderou de evaluare (job #2158659)

Utilizator andreigasparoviciAndrei Gasparovici andreigasparovici Data 10 martie 2018 14:56:04
Problema SequenceQuery Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &n, &m); ^ user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:64:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sequencequery.in", "r", stdin); ^ user.cpp:65:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sequencequery.out", "w", stdout); ^ user.cpp:72:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms5152kbOK5
24ms5000kbOK5
34ms7088kbOK5
44ms7092kbOK5
58ms6960kbOK5
68ms7248kbOK5
74ms2336kbKilled by signal 11(SIGSEGV).0
84ms2676kbKilled by signal 11(SIGSEGV).0
94ms2584kbKilled by signal 11(SIGSEGV).0
104ms2536kbKilled by signal 11(SIGSEGV).0
114ms2628kbKilled by signal 11(SIGSEGV).0
124ms2512kbKilled by signal 11(SIGSEGV).0
1312ms2684kbKilled by signal 11(SIGSEGV).0
1412ms2552kbKilled by signal 11(SIGSEGV).0
1520ms2876kbKilled by signal 11(SIGSEGV).0
1620ms2672kbKilled by signal 11(SIGSEGV).0
1720ms2468kbKilled by signal 11(SIGSEGV).0
1820ms2768kbKilled by signal 11(SIGSEGV).0
1936ms3064kbKilled by signal 11(SIGSEGV).0
2036ms3032kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?