Pagini recente » Borderou de evaluare (job #706581) | Borderou de evaluare (job #2323645) | Borderou de evaluare (job #2357451) | Borderou de evaluare (job #1403472) | Borderou de evaluare (job #1677934)
Borderou de evaluare (job #1677934)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int, char)’:
user.cpp:38:47: warning: narrowing conversion of ‘tip’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
v.push_back({v.back().i,0,tip});
^
user.cpp:46:71: warning: narrowing conversion of ‘tip’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
if(v.back().i<=d[tip][poz]) v.push_back({v.back().i,0,tip});
^
user.cpp:50:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return d[tip][poz];
^
user.cpp: In function ‘int main()’:
user.cpp:55:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text5.in", "r", stdin);
^
user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text5.out", "w", stdout);
^
user.cpp:58:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s",&n,sir+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 15928kb | Solutie invalida | 5 |
2 | 20ms | 15932kb | Raspuns gresit! | 0 |
3 | 20ms | 15944kb | Raspuns gresit! | 0 |
4 | 64ms | 18856kb | Raspuns gresit! | 0 |
5 | 84ms | 19924kb | Raspuns gresit! | 0 |
6 | 156ms | 24076kb | Raspuns gresit! | 0 |
7 | Depăşit | 24124kb | Time limit exceeded. | 0 |
8 | 188ms | 26232kb | Raspuns gresit! | 0 |
9 | 176ms | 25644kb | Raspuns gresit! | 0 |
10 | 20ms | 15924kb | Corect! | 10 |
Punctaj total | 15 |