Pagini recente » Borderou de evaluare (job #1477885) | Borderou de evaluare (job #1313219) | Borderou de evaluare (job #1271494) | Borderou de evaluare (job #1899410) | Borderou de evaluare (job #1313234)
Borderou de evaluare (job #1313234)
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:91:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("dreptpal.in",1048576);
^
user.cpp:92: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 | OK | 10 | 10 |
| 3 | 0ms | 1576kb | OK | 10 | 10 |
| 4 | 0ms | 1576kb | OK | 10 | 10 |
| 5 | 4ms | 1576kb | OK | 10 | 10 |
| 6 | Depăşit | 4588kb | Time limit exceeded. | 0 | 0 |
| 7 | Depăşit | 4148kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 4988kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5388kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5388kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |