Borderou de evaluare (job #2250425)

Utilizator lflorin29Florin Laiu lflorin29 Data 30 septembrie 2018 14:04:51
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:91:11: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(int nrg = 0; nrg < 2; ++nrg) ^~~ user.cpp:93: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
14ms13608kbOK4
212ms17764kbOK5
3104ms18908kbOK6
4108ms19708kbOK5
5124ms22020kbOK6
6124ms22052kbOK5
7124ms22028kbOK6
8124ms22032kbOK5
9656ms78540kbOK5
10660ms77912kbOK5
11664ms78524kbOK5
12664ms78552kbOK5
13660ms78392kbOK5
14Depăşit227496kbTime limit exceeded.0
15Depăşit232472kbTime limit exceeded.0
16Depăşit230360kbTime limit exceeded.0
17Depăşit233920kbTime limit exceeded.0
18Depăşit234320kbTime limit exceeded.0
19Depăşit230112kbTime limit exceeded.0
20Depăşit232756kbTime limit exceeded.0
Punctaj total67

Ceva nu functioneaza?