Pagini recente » Borderou de evaluare (job #81588) | Borderou de evaluare (job #2359710) | Borderou de evaluare (job #1705034) | Borderou de evaluare (job #3269959) | Borderou de evaluare (job #1465069)
Borderou de evaluare (job #1465069)
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/cc3rbY8a.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 | 448kb | Incorect | 0 |
| 2 | 0ms | 452kb | Incorect | 0 |
| 3 | 4ms | 548kb | Incorect | 0 |
| 4 | 32ms | 868kb | Incorect | 0 |
| 5 | 56ms | 1452kb | Incorect | 0 |
| 6 | 80ms | 2444kb | Incorect | 0 |
| 7 | 80ms | 3464kb | Incorect | 0 |
| 8 | 80ms | 3468kb | Incorect | 0 |
| 9 | 96ms | 5520kb | Incorect | 0 |
| 10 | 96ms | 5516kb | Incorect | 0 |
| Punctaj total | 0 |