Borderou de evaluare (job #2250495)

Utilizator lflorin29Florin Laiu lflorin29 Data 30 septembrie 2018 14:23:47
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
20ms3364kbOK5
30ms3368kbOK6
44ms3364kbOK5
516ms3372kbOK6
616ms3376kbOK5
716ms3372kbOK6
816ms3372kbOK5
9436ms5544kbOK5
10436ms5552kbOK5
11440ms5544kbOK5
12436ms5548kbOK5
13440ms5552kbOK5
14Depăşit6844kbTime limit exceeded.0
15Depăşit6844kbTime limit exceeded.0
16Depăşit6848kbTime limit exceeded.0
17Depăşit6844kbTime limit exceeded.0
18Depăşit6848kbTime limit exceeded.0
19Depăşit6844kbTime limit exceeded.0
20Depăşit6844kbTime limit exceeded.0
Punctaj total67

Ceva nu functioneaza?