Borderou de evaluare (job #1184842)

Utilizator heracleRadu Muntean heracle Data 14 mai 2014 11:34:35
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

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
10ms184kbKilled by signal 11(SIGSEGV).00
20ms184kbKilled by signal 11(SIGSEGV).00
30ms184kbKilled by signal 11(SIGSEGV).00
40ms184kbKilled by signal 11(SIGSEGV).00
50ms184kbKilled by signal 11(SIGSEGV).00
60ms188kbKilled by signal 11(SIGSEGV).0
70ms184kbKilled by signal 11(SIGSEGV).0
80ms184kbKilled by signal 11(SIGSEGV).0
90ms180kbKilled by signal 11(SIGSEGV).0
100ms180kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?