Pagini recente » Cod sursa (job #2868167) | Borderou de evaluare (job #1937335) | Borderou de evaluare (job #1987955) | Borderou de evaluare (job #2070291) | Borderou de evaluare (job #1465049)
Borderou de evaluare (job #1465049)
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) uhash[i-put2[j]]=1;
^
user.cpp:26: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:27: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:28: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:28: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:29:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); curent=0; put2[0]=1;
^
user.cpp:46:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); curent=0;
^
/tmp/ccQO51Io.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 | 432kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 536kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 824kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 4ms | 1308kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 4ms | 1384kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 4ms | 1384kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 4ms | 1384kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 1384kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 4ms | 1388kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |