Pagini recente » Borderou de evaluare (job #40573) | Borderou de evaluare (job #2942937) | Borderou de evaluare (job #1581393) | Borderou de evaluare (job #46045) | Borderou de evaluare (job #1312921)
Borderou de evaluare (job #1312921)
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",1000000);
^
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 | OK | 10 | 10 |
2 | 0ms | 1312kb | Incorect | 0 | 0 |
3 | 0ms | 1312kb | OK | 10 | 10 |
4 | 0ms | 1576kb | Incorect | 0 | 0 |
5 | 0ms | 1576kb | OK | 10 | 10 |
6 | 72ms | 4480kb | OK | 10 | 50 |
7 | 76ms | 3952kb | OK | 10 |
8 | 100ms | 4744kb | OK | 10 |
9 | 132ms | 5272kb | OK | 10 |
10 | 136ms | 5272kb | OK | 10 |
Punctaj total | 80 |