Pagini recente » Borderou de evaluare (job #881279) | Borderou de evaluare (job #2220691) | Cod sursa (job #717790) | Borderou de evaluare (job #203433) | Borderou de evaluare (job #1764982)
Borderou de evaluare (job #1764982)
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 | 12200kb | OK | 10 |
3 | 28ms | 12316kb | OK | 10 |
4 | 60ms | 12876kb | OK | 10 |
5 | 64ms | 12716kb | OK | 10 |
6 | 208ms | 14904kb | OK | 10 |
7 | 476ms | 16620kb | OK | 10 |
8 | 548ms | 16808kb | OK | 10 |
9 | 852ms | 22072kb | OK | 10 |
10 | 968ms | 26952kb | OK | 10 |
Punctaj total | 100 |