Borderou de evaluare (job #2236475)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 29 august 2018 17:53:11
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:67: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:67: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:77:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < v.size() ; i++) ~~^~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:106:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0 ; j < p.size() ; j++) ~~^~~~~~~~~~ user.cpp:89: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:90: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:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^ user.cpp:95: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:102: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:57:10: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations] t[i] = i; ~~~~~^~~ user.cpp:55:21: note: within this loop for(int i = 1 ; i <= NMAX ; i++) ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms756kbWrong Answer!0
20ms856kbWrong Answer!0
312ms856kbWrong Answer!0
4Depăşit932kbTime limit exceeded.0
5Depăşit872kbTime limit exceeded.0
6Depăşit808kbTime limit exceeded.0
7Depăşit876kbTime limit exceeded.0
8Depăşit856kbTime limit exceeded.0
9Depăşit936kbTime limit exceeded.0
10Depăşit808kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?