Pagini recente » Borderou de evaluare (job #1534218) | Borderou de evaluare (job #1258143) | Borderou de evaluare (job #1130648) | Borderou de evaluare (job #1884296) | Borderou de evaluare (job #2407440)
Borderou de evaluare (job #2407440)
Raport evaluator
Compilare:
main.cpp: In member function 'int ifbuffer::getnr()':
main.cpp:65:31: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( !isDigit[c] )
^
main.cpp:68:30: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( isDigit[c] ) {
^
main.cpp: In member function 'long long int ifbuffer::getll()':
main.cpp:80:31: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( !isDigit[c] )
^
main.cpp:83:30: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( isDigit[c] ) {
^
main.cpp: In function 'int main()':
main.cpp:144:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ifbuffer cin("grup.in");
^
main.cpp:153:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin >> b1 + 1;
~~~^~~
main.cpp:154:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin >> b2 + 1;
~~~^~~
main.cpp:145:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("grup.out", "w", stdout);
^
main.cpp: In member function 'void ifbuffer::refill()':
main.cpp:49:41: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread( text, 1, size, file );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 262kb | OK | 10 |
5 | 3ms | 262kb | Incorect | 0 |
6 | 57ms | 786kb | OK | 10 |
7 | 72ms | 1048kb | OK | 10 |
8 | 101ms | 1441kb | Time limit exceeded | 0 |
9 | 101ms | 1835kb | Time limit exceeded | 0 |
10 | 54ms | 1966kb | OK | 10 |
Punctaj total | 70 |