Borderou de evaluare (job #1184843)

Utilizator heracleRadu Muntean heracle Data 14 mai 2014 11:35:03
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
20ms244kbOK1010
30ms244kbOK1010
41080ms320kbOK100
5Depăşit528kbTime limit exceeded.0
6Depăşit492kbTime limit exceeded.0
7Depăşit552kbTime limit exceeded.00
8Depăşit548kbTime limit exceeded.00
9Depăşit504kbTime limit exceeded.0
10Depăşit464kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?