Pagini recente » Borderou de evaluare (job #2566056) | Borderou de evaluare (job #1631304) | Borderou de evaluare (job #561923) | Borderou de evaluare (job #2906747) | Borderou de evaluare (job #1761303)
Borderou de evaluare (job #1761303)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(unsigned int)’:
user.cpp:18:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[x%MOD].size();i++)
^
user.cpp:19:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(h[x%MOD][i].first=x)
^
user.cpp: In function ‘int Search_In_Hash(unsigned int)’:
user.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[val%MOD].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:39:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=3;i<=N;i++)
^
user.cpp:41:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=N;i++)
^
user.cpp:43:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=M;i++)
^
user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.in","r",stdin);
^
user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.out","w",stdout);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&M,&N);
^
user.cpp:38:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u%d%d%d",&R[1],&R[2],&M1,&M2,&mod);
^
user.cpp:45:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 8080kb | OK | 10 |
2 | 12ms | 8112kb | OK | 10 |
3 | 8ms | 8112kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 8ms | 8112kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 8112kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 8112kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 8112kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 8112kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 8108kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 12ms | 8084kb | OK | 10 |
Punctaj total | 30 |