Borderou de evaluare (job #2647552)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 5 septembrie 2020 11:38:26
Problema Prefix Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<strlen(v);i++){ ~^~~~~~~~~~ main.cpp:16:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in","r",stdin); ^ main.cpp:17:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.out","w",stdout); ^ main.cpp:19:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:22:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",v); ^ main.cpp:26:15: warning: array subscript is below array bounds [-Warray-bounds] urm[-1]=-1; ~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
24ms131kbIncorect0
3251ms262kbTime limit exceeded0
4252ms393kbTime limit exceeded0
5251ms262kbTime limit exceeded0
6252ms262kbTime limit exceeded0
7252ms786kbTime limit exceeded0
8251ms1048kbTime limit exceeded0
9252ms262kbTime limit exceeded0
106ms131kbOK10
Punctaj total20

Ceva nu functioneaza?