Borderou de evaluare (job #2625519)

Utilizator AndreiStanescuAlloys Nokito AndreiStanescu Data 6 iunie 2020 00:14:14
Problema Take 5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 25

Raport evaluator

Compilare: main.cpp:2:18: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] #define mod 1<<20-1 ~~^~ main.cpp:18:12: note: in expansion of macro 'mod' nod* lista[mod]; ^~~ main.cpp: In function 'void add_to_list(const int&)': main.cpp:2:18: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] #define mod 1<<20-1 ~~^~ main.cpp:22:18: note: in expansion of macro 'mod' int bucket=s%mod; ^~~ main.cpp:27:10: warning: variable 'r' set but not used [-Wunused-but-set-variable] nod* r=p; ^ main.cpp: In function 'int lista_search(const int&)': main.cpp:2:18: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] #define mod 1<<20-1 ~~^~ main.cpp:47:18: note: in expansion of macro 'mod' int bucket=s%mod; ^~~ main.cpp: In function 'void read()': main.cpp:68:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("take5.in", "r", stdin); ^ main.cpp:69:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &sum); ^ main.cpp:71:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp:130:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("take5.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK5
28ms131kbOK5
354ms131kbOK5
4195ms131kbOK5
51960ms270kbOK5
62201ms262kbTime limit exceeded0
72201ms262kbTime limit exceeded0
82201ms262kbTime limit exceeded0
92200ms262kbTime limit exceeded0
102200ms262kbTime limit exceeded0
112203ms278kbTime limit exceeded0
122201ms262kbTime limit exceeded0
132203ms131kbTime limit exceeded0
142200ms131kbTime limit exceeded0
152203ms131kbTime limit exceeded0
162203ms131kbTime limit exceeded0
172202ms131kbTime limit exceeded0
182202ms270kbTime limit exceeded0
192200ms786kbTime limit exceeded0
202200ms262kbTime limit exceeded0
Punctaj total25

Ceva nu functioneaza?