Pagini recente » Borderou de evaluare (job #2561983) | Borderou de evaluare (job #1611243) | Borderou de evaluare (job #118004) | Borderou de evaluare (job #969637) | Borderou de evaluare (job #1313219)
Borderou de evaluare (job #1313219)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:36:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘void Sky(long int)’:
user.cpp:75:41: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(!cnt || (cnt & st[cnt].first != curr.first)) st[++cnt] = curr;
^
user.cpp: In function ‘int main()’:
user.cpp:88:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("dreptpal.in",1048576);
^
user.cpp:89:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptpal.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fileName,"r",stdin);
^
user.cpp: In member function ‘void Buffer::reFill()’:
user.cpp:39:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&Buff[0],1,maxBuf,stdin); pos = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1312kb | Incorect | 0 | 0 |
2 | 0ms | 1312kb | Incorect | 0 | 0 |
3 | 0ms | 1576kb | Incorect | 0 | 0 |
4 | 0ms | 1576kb | Incorect | 0 | 0 |
5 | 0ms | 1576kb | Incorect | 0 | 0 |
6 | 56ms | 4480kb | Incorect | 0 | 0 |
7 | 60ms | 3952kb | Incorect | 0 |
8 | 76ms | 5008kb | Incorect | 0 |
9 | 104ms | 5272kb | Incorect | 0 |
10 | 108ms | 5272kb | Incorect | 0 |
Punctaj total | 0 |