Pagini recente » Borderou de evaluare (job #1844303) | Borderou de evaluare (job #104022) | Borderou de evaluare (job #878983) | Borderou de evaluare (job #1640141) | Borderou de evaluare (job #1214596)
Borderou de evaluare (job #1214596)
Raport evaluator
Compilare:
user.cpp: In function ‘void create()’:
user.cpp:19:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:32:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=]
scanf("%s",&S);
^
user.cpp:38:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=]
scanf("%s",&S);
^
user.cpp:43:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
element[i].first=H[V[i].second].first+1;
^
user.cpp:44:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
element[i].second=H[V[i].second].second;
^
user.cpp:52:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (element[i].first>H[V[i].first].first)
^
user.cpp:54:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
H[V[i].first].first=element[i].first;
^
user.cpp:55:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
H[V[i].first].second=i;
^
user.cpp:29:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in","r",stdin);
^
user.cpp:30:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out","w",stdout);
^
user.cpp:32:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&S);
^
user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&S);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1344kb | Partial incorect | 1 |
2 | 0ms | 1044kb | Partial incorect | 1 |
3 | 0ms | 756kb | Partial incorect | 1 |
4 | 0ms | 748kb | Partial incorect | 1 |
5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
6 | 4ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 764kb | Partial incorect | 1 |
8 | 4ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | 1024kb | Partial incorect | 1 |
10 | 0ms | 1012kb | Partial incorect | 1 |
Punctaj total | 7 |