Borderou de evaluare (job #2262493)

Utilizator Iulia14iulia slanina Iulia14 Data 17 octombrie 2018 14:52:31
Problema Dinti Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void f(int)': main.cpp:15:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if ((a>>i)&1!=0&&vc[a-put]!=1) ~^~~ main.cpp: In function 'int main()': main.cpp:32:33: warning: format '%s' expects argument of type 'char*', but argument 5 has type 'char (*)[1000005]' [-Wformat=] scanf("%d%d%d%s",&n,&m,&l,&v); ^ main.cpp:54:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30]' [-Wformat=] scanf("%s",&v2); ^ main.cpp:30:10: warning: unused variable 'c' [-Wunused-variable] char c; ^ main.cpp:27:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("dinti.in","r",stdin); ^ main.cpp:28:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("dinti.out","w",stdout); ^ main.cpp:32:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%s",&n,&m,&l,&v); ^ main.cpp:54:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&v2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
212ms131kbOK10
3203ms262kbTime limit exceeded0
4200ms524kbTime limit exceeded0
5201ms1048kbTime limit exceeded0
6203ms1441kbTime limit exceeded0
7203ms1703kbTime limit exceeded0
8204ms1703kbTime limit exceeded0
9200ms2228kbTime limit exceeded0
10202ms2228kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?