Borderou de evaluare (job #2598216)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 11 aprilie 2020 12:11:56
Problema Aliniere Status done
Runda Fmi No Stress 9 Compilator cpp-64 | Vezi sursa
Scor 60

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:138:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ifbuffer cin("aliniere.in"); ^ main.cpp:182:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < v.size(); i++) ~~^~~~~~~~~~ main.cpp:141:15: warning: unused variable 'x' [-Wunused-variable] int n, q, x, i, j; ^ main.cpp:139: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
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
44ms262kbOK10
54ms262kbOK10
65ms262kbOK10
7318ms13631kbIncorect0
8324ms13631kbIncorect0
9300ms13631kbIncorect0
10372ms13631kbIncorect0
Punctaj total60

Ceva nu functioneaza?