Pagini recente » Borderou de evaluare (job #1764348) | Borderou de evaluare (job #3148888) | Borderou de evaluare (job #680866) | Borderou de evaluare (job #116744) | Borderou de evaluare (job #2584002)
Borderou de evaluare (job #2584002)
Raport evaluator
Compilare:
main.cpp: In member function 'int ifbuffer::getnr()':
main.cpp:33:31: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( !isDigit[c] )
^
main.cpp:36:30: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( isDigit[c] ) {
^
main.cpp: In member function 'long long int ifbuffer::getll()':
main.cpp:48:31: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( !isDigit[c] )
^
main.cpp:51:30: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( isDigit[c] ) {
^
main.cpp: In function 'int main()':
main.cpp:112:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ifbuffer fin("logik.in");
^
main.cpp:113:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("logik.out", "w", stdout);
^
main.cpp: In member function 'void ifbuffer::refill()':
main.cpp:17: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 |
Punctaj/grupa |
✓ | 1 | 2ms | 131kb | OK | 10 | 20 |
✓ | 2 | 2ms | 131kb | OK | 10 |
✓ | 3 | 13ms | 131kb | OK | 10 | 20 |
✓ | 4 | 13ms | 131kb | OK | 10 |
✓ | 5 | 17ms | 131kb | OK | 10 | 60 |
✓ | 6 | 2ms | 131kb | OK | 10 |
✓ | 7 | 17ms | 131kb | OK | 10 |
✓ | 8 | 13ms | 131kb | OK | 10 |
✓ | 9 | 16ms | 131kb | OK | 10 |
✓ | 10 | 16ms | 131kb | OK | 10 |
Punctaj total | 100 |