Borderou de evaluare (job #2236471)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 29 august 2018 17:39:54
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:66: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:66: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: In function ‘int main()’: user.cpp:97:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0 ; j < p.size() ; j++) ~~^~~~~~~~~~ user.cpp:80: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:81: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:85:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^ user.cpp:86: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:93: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:56:10: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations] t[i] = i; ~~~~~^~~ user.cpp:54:21: note: within this loop for(int i = 1 ; i <= NMAX ; i++) ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms752kbWrong Answer!0
28ms796kbWrong Answer!0
3116ms892kbWrong Answer!0
4Depăşit1004kbTime limit exceeded.0
5Depăşit1012kbTime limit exceeded.0
6Depăşit1012kbTime limit exceeded.0
7Depăşit1004kbTime limit exceeded.0
8Depăşit1012kbTime limit exceeded.0
9Depăşit1008kbTime limit exceeded.0
10Depăşit1008kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?