Pagini recente » Borderou de evaluare (job #1437547) | Borderou de evaluare (job #1598129) | Borderou de evaluare (job #2586223) | Borderou de evaluare (job #2753112) | Borderou de evaluare (job #1465075)
Borderou de evaluare (job #1465075)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if ((i>>j)&1==1 && (i-put2[j]>0)) uhash[i-put2[j]]=1;
^
user.cpp:25:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinti.in","r",stdin);
^
user.cpp:26:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinti.out","w",stdout);
^
user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&k); gets(s);
^
user.cpp:27:36: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&k); gets(s);
^
user.cpp:28:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:47:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); curent=0;
^
/tmp/cct9Zj54.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 4ms | 552kb | OK | 10 |
4 | 28ms | 868kb | OK | 10 |
5 | 52ms | 1456kb | OK | 10 |
6 | 96ms | 2444kb | OK | 10 |
7 | 128ms | 3472kb | OK | 10 |
8 | 124ms | 3468kb | OK | 10 |
9 | 188ms | 5516kb | OK | 10 |
10 | 184ms | 5512kb | OK | 10 |
Punctaj total | 100 |