Pagini recente » Borderou de evaluare (job #2963474) | Borderou de evaluare (job #3259844) | Borderou de evaluare (job #3253299) | Borderou de evaluare (job #300771) | Borderou de evaluare (job #1465072)
Borderou de evaluare (job #1465072)
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/ccVPuvDI.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 | 4ms | 452kb | OK | 10 |
2 | 4ms | 456kb | OK | 10 |
3 | 8ms | 552kb | OK | 10 |
4 | 36ms | 864kb | OK | 10 |
5 | 72ms | 1452kb | OK | 10 |
6 | 104ms | 2444kb | OK | 10 |
7 | 132ms | 3464kb | OK | 10 |
8 | 132ms | 3468kb | OK | 10 |
9 | 184ms | 5516kb | OK | 10 |
10 | 184ms | 5516kb | OK | 10 |
Punctaj total | 100 |