Pagini recente » Borderou de evaluare (job #2695945) | Borderou de evaluare (job #2006342) | Borderou de evaluare (job #1792670) | Cod sursa (job #2815687) | Borderou de evaluare (job #1760748)
Borderou de evaluare (job #1760748)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(int, int)’:
user.cpp:14:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[(nr%MOD+MOD)%MOD].size();i++)
^
user.cpp: In function ‘int Search(int)’:
user.cpp:24:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[(nr%MOD+MOD)%MOD].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<h[i].size();j++)
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.in","r",stdin);
^
user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.out","w",stdout);
^
user.cpp:34:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:37:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&M);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t,&sum);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 8072kb | Raspuns gresit! | 0 |
2 | 68ms | 8132kb | Raspuns gresit! | 0 |
3 | 184ms | 8244kb | Raspuns gresit! | 0 |
4 | 252ms | 8300kb | Raspuns gresit! | 0 |
5 | 484ms | 8484kb | Raspuns gresit! | 0 |
6 | 872ms | 8740kb | Raspuns gresit! | 0 |
7 | 1024ms | 8812kb | Raspuns gresit! | 0 |
8 | 1104ms | 8880kb | Raspuns gresit! | 0 |
9 | 1372ms | 9160kb | Fisier out corupt! | 0 |
10 | 1508ms | 9276kb | Fisier out corupt! | 0 |
Punctaj total | 0 |