Pagini recente » Borderou de evaluare (job #1227497) | Borderou de evaluare (job #1299619)
Borderou de evaluare (job #1299619)
Raport evaluator
Compilare:
user.cpp: In function ‘void xorF(char*)’:
user.cpp:10: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:16: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:27: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:28: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:38:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (nr1);
^
/tmp/ccWrFAiS.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 | 428kb | BA NUUUU!!! | 0 | 0 |
2 | 4ms | 424kb | BA NUUUU!!! | 0 |
3 | 4ms | 424kb | BA NUUUU!!! | 0 |
4 | 8ms | 424kb | BA NUUUU!!! | 0 |
5 | 20ms | 420kb | A BA DA!!! | 20 |
Punctaj total | 0 |