Borderou de evaluare (job #2250447)

Utilizator lflorin29Florin Laiu lflorin29 Data 30 septembrie 2018 14:08:02
Problema Wwt Status done
Runda Algoritmiada 2018 Runda Finala Seniori Compilator cpp | Vezi sursa
Scor 67

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:97:11: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(int nrg = 0; nrg < 2; ++nrg) ^~~ user.cpp:99:14: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ RES = (1LL * RES - 1 + mod)% mod; ^~~ user.cpp:40:9: warning: unused variable ‘NRSTARI’ [-Wunused-variable] int NRSTARI = p3[k + 1]; ^~~~~~~ user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("wwt.in", "r", stdin); ^ user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("wwt.out", "w", stdout); ^ user.cpp:30:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp:35:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]), v[i]--, ap[v[i]] = 1; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓10ms3364kbOK4
✗20ms3368kbOK5
✗30ms3372kbOK6
✓44ms3368kbOK5
✗516ms3380kbOK6
✗616ms3380kbOK5
✗716ms3384kbOK6
✗816ms3380kbOK5
✓9440ms5544kbOK5
✗10436ms5544kbOK5
✗11436ms5544kbOK5
✗12440ms5544kbOK5
✗13436ms5552kbOK5
✗1424ms6712kbKilled by signal 11(SIGSEGV).0
✗1524ms6716kbKilled by signal 11(SIGSEGV).0
✓1624ms6712kbKilled by signal 11(SIGSEGV).0
✗1724ms6712kbKilled by signal 11(SIGSEGV).0
✗1824ms6716kbKilled by signal 11(SIGSEGV).0
✗1924ms6712kbKilled by signal 11(SIGSEGV).0
✗2024ms6720kbKilled by signal 11(SIGSEGV).0
Punctaj total67

Ceva nu functioneaza?