Pagini recente » Cod sursa (job #3274207) | Cod sursa (job #688309) | Borderou de evaluare (job #177625) | Borderou de evaluare (job #1633134) | Borderou de evaluare (job #1764981)
Borderou de evaluare (job #1764981)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(unsigned int)’:
user.cpp:15:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[nr%MOD].size();i++)
^
user.cpp: In function ‘int Search(unsigned int)’:
user.cpp:22:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[nr%MOD].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:53:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<h[i].size();j++)
^
user.cpp:43:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&L,&U);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&S[i]);
^
user.cpp: In function ‘int Search(unsigned int)’:
user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 12176kb | OK | 10 |
2 | 24ms | 12204kb | OK | 10 |
3 | 28ms | 12308kb | OK | 10 |
4 | 60ms | 12872kb | OK | 10 |
5 | 64ms | 12716kb | OK | 10 |
6 | 208ms | 14904kb | OK | 10 |
7 | 468ms | 16624kb | OK | 10 |
8 | 544ms | 16812kb | OK | 10 |
9 | 840ms | 22076kb | OK | 10 |
10 | 968ms | 26952kb | OK | 10 |
Punctaj total | 100 |