Pagini recente » Borderou de evaluare (job #1440946) | Borderou de evaluare (job #1322629) | Borderou de evaluare (job #289662) | Borderou de evaluare (job #2543688) | Borderou de evaluare (job #1465052)
Borderou de evaluare (job #1465052)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if ((i>>j)&1==1) 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); curent=0; put2[0]=1;
^
user.cpp:45:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); curent=0;
^
/tmp/cczrwihw.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 | 460kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 556kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 836kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 1316kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 1400kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 1396kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 1392kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 1392kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 1392kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |