Borderou de evaluare (job #1184837)

Utilizator heracleRadu Muntean heracle Data 14 mai 2014 11:30:10
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void adauga(int)’: user.cpp:2:14: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] #define KEY 1<<20 ^ user.cpp:14:14: note: in expansion of macro ‘KEY’ int r=x&(KEY-1); ^ user.cpp: In function ‘bool caut(int)’: user.cpp:2:14: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] #define KEY 1<<20 ^ user.cpp:22:18: note: in expansion of macro ‘KEY’ int p=lst[x&(KEY-1)]; ^ user.cpp: In function ‘void sterge(int)’: user.cpp:2:14: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] #define KEY 1<<20 ^ user.cpp:30:14: note: in expansion of macro ‘KEY’ int r=x&(KEY-1),p; ^ user.cpp: In function ‘int main()’: user.cpp:50:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.cpp:56:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&tipe,&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms244kbOK1010
20ms240kbOK1010
30ms244kbOK1010
41080ms328kbOK100
5Depăşit528kbTime limit exceeded.0
6Depăşit496kbTime limit exceeded.0
7Depăşit548kbTime limit exceeded.00
8Depăşit552kbTime limit exceeded.00
9Depăşit508kbTime limit exceeded.0
10Depăşit468kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?