Pagini recente » Borderou de evaluare (job #464169) | Borderou de evaluare (job #2560696) | Borderou de evaluare (job #2607220) | Borderou de evaluare (job #77685) | Borderou de evaluare (job #2598350)
Borderou de evaluare (job #2598350)
Raport evaluator
Compilare:
main.cpp: In member function 'int ifbuffer::getnr()':
main.cpp:36:31: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( !isDigit[c] )
^
main.cpp:39:30: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( isDigit[c] ) {
^
main.cpp: In member function 'long long int ifbuffer::getll()':
main.cpp:51:31: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( !isDigit[c] )
^
main.cpp:54:30: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( isDigit[c] ) {
^
main.cpp: In function 'int main()':
main.cpp:141:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ifbuffer cin("aliniere.in");
^
main.cpp:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < v.size(); i++)
~~^~~~~~~~~~
main.cpp:144:15: warning: unused variable 'x' [-Wunused-variable]
int n, q, x, i, j;
^
main.cpp:142:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aliniere.out", "w", stdout);
^
main.cpp: In member function 'void ifbuffer::refill()':
main.cpp:20: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 | 2ms | 131kb | OK | 10 |
4 | 4ms | 262kb | OK | 10 |
5 | 4ms | 262kb | OK | 10 |
6 | 5ms | 262kb | OK | 10 |
7 | 332ms | 13631kb | OK | 10 |
8 | 329ms | 13635kb | OK | 10 |
9 | 318ms | 13631kb | OK | 10 |
10 | 353ms | 13762kb | OK | 10 |
Punctaj total | 100 |