Borderou de evaluare (job #2236481)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 29 august 2018 18:07:33
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:69:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < v.size() && ma < p.size()-1 ; i++) ~~^~~~~~~~~~ user.cpp:69:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < v.size() && ma < p.size()-1 ; i++) ~~~^~~~~~~~~~~~ user.cpp:81:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < sel.size() ; i++) ~~^~~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:105:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0 ; j < p.size() ; j++) ~~^~~~~~~~~~ user.cpp:88:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desen.in","r",stdin); ^ user.cpp:89:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desen.out","w",stdout); ^ user.cpp:93:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^ user.cpp:94:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^ user.cpp:101:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^ user.cpp: In function ‘void reset()’: user.cpp:58:10: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations] t[i] = i; ~~~~~^~~ user.cpp:56:21: note: within this loop for(int i = 1 ; i <= NMAX ; i++) ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms816kbWrong Answer!0
20ms756kbWrong Answer!0
34ms804kbWrong Answer!0
4112ms768kbWrong Answer!0
5Depăşit864kbTime limit exceeded.0
6Depăşit812kbTime limit exceeded.0
7Depăşit876kbTime limit exceeded.0
8Depăşit816kbTime limit exceeded.0
9Depăşit816kbTime limit exceeded.0
10Depăşit860kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?