Borderou de evaluare (job #2318730)

Utilizator fmi_matei_danielMatei George Daniel fmi_matei_daniel Data 13 ianuarie 2019 15:08:11
Problema ShiftRight Status done
Runda Fmi No Stress 8 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:25: warning: array subscript has type 'char' [-Wchar-subscripts] alfabet[ s[ i ] ]++; ^ main.cpp:25:24: warning: array subscript has type 'char' [-Wchar-subscripts] alfabet[ s[ i ]]--; ^ main.cpp:15:15: warning: unused variable 'j' [-Wunused-variable] int n, i, j; ^ main.cpp:12:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen( "shiftright.in", "r", stdin ); ^ main.cpp:13:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen( "shiftright.out", "w", stdout ); ^ main.cpp:17:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", s ); ^ main.cpp:23:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", s ); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓12ms131kbRaspuns gresit!0
✓22ms131kbRaspuns gresit!0
✓32ms131kbRaspuns gresit!0
✓42ms131kbRaspuns gresit!0
✓54ms262kbRaspuns gresit!0
✓64ms262kbRaspuns gresit!0
✓72ms131kbRaspuns gresit!0
✓82ms131kbRaspuns gresit!0
✓92ms131kbRaspuns gresit!0
✓102ms131kbRaspuns gresit!0
✓113ms131kbRaspuns gresit!0
✓123ms131kbRaspuns gresit!0
✓134ms131kbRaspuns gresit!0
✓144ms262kbRaspuns gresit!0
✓154ms262kbRaspuns gresit!0
✓164ms262kbRaspuns gresit!0
✓174ms262kbRaspuns gresit!0
✓184ms262kbRaspuns gresit!0
✓194ms262kbRaspuns gresit!0
✓204ms262kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?