Pagini recente » Borderou de evaluare (job #740525) | Borderou de evaluare (job #3191575) | Borderou de evaluare (job #2521580) | Borderou de evaluare (job #414032) | Borderou de evaluare (job #1299627)
Borderou de evaluare (job #1299627)
Raport evaluator
Compilare:
user.cpp: In function ‘void xorF(char*)’:
user.cpp:11:44: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
nr2[i] = (nr1[i] - '0') ^ (nr2[i] - '0') + '0';
^
user.cpp: In function ‘void andF()’:
user.cpp:17:44: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
nr3[i] = (nr1[i] - '0') & (nr3[i] - '0') + '0';
^
user.cpp: In function ‘int main()’:
user.cpp:29:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bunicu.in","r",stdin);
^
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bunicu.out","w",stdout);
^
user.cpp:40:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (nr1);
^
/tmp/ccShFgkL.o: In function `main':
user.cpp:(.text.startup+0xab): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 436kb | BA NUUUU!!! | 0 | 0 |
2 | 4ms | 436kb | BA NUUUU!!! | 0 |
3 | 4ms | 436kb | BA NUUUU!!! | 0 |
4 | 8ms | 436kb | BA NUUUU!!! | 0 |
5 | 20ms | 436kb | A BA DA!!! | 20 |
Punctaj total | 0 |