Pagini recente » Borderou de evaluare (job #394558) | Borderou de evaluare (job #435932) | Borderou de evaluare (job #394549) | Borderou de evaluare (job #394550) | Borderou de evaluare (job #1760628)
Borderou de evaluare (job #1760628)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(unsigned int)’:
user.cpp:15:31: 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:31: 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:27: 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:26: 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:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&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 | Incorect | 0 |
| 2 | 24ms | 12204kb | Incorect | 0 |
| 3 | 28ms | 12280kb | Incorect | 0 |
| 4 | 52ms | 12656kb | Incorect | 0 |
| 5 | 56ms | 12640kb | Incorect | 0 |
| 6 | 164ms | 14072kb | Incorect | 0 |
| 7 | 376ms | 15728kb | Incorect | 0 |
| 8 | 428ms | 16064kb | Incorect | 0 |
| 9 | 600ms | 19240kb | Incorect | 0 |
| 10 | 968ms | 26956kb | OK | 10 |
| Punctaj total | 10 |