Pagini recente » Borderou de evaluare (job #1416864) | Borderou de evaluare (job #2976237) | Borderou de evaluare (job #1023851) | Borderou de evaluare (job #1342427) | Borderou de evaluare (job #1214610)
Borderou de evaluare (job #1214610)
Raport evaluator
Compilare:
user.cpp: In function ‘void create()’:
user.cpp:20:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:33:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=]
scanf("%s",&S);
^
user.cpp:39:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=]
scanf("%s",&S);
^
user.cpp:47:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
element[i].first=H[V[i].second].first+1;
^
user.cpp:48:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
element[i].second=H[V[i].second].second;
^
user.cpp:56:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (element[i].first>H[V[i].first].first)
^
user.cpp:58:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
H[V[i].first].first=element[i].first;
^
user.cpp:59:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
H[V[i].first].second=i;
^
user.cpp:30: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:31: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:33:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&S);
^
user.cpp:39: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 | 520kb | Corect | 10 |
2 | 0ms | 492kb | Corect | 10 |
3 | 0ms | 464kb | Corect | 10 |
4 | 0ms | 460kb | Corect | 10 |
5 | 4ms | 748kb | Corect | 10 |
6 | 4ms | 900kb | Corect | 10 |
7 | 0ms | 468kb | Corect | 10 |
8 | 8ms | 1044kb | Partial incorect | 1 |
9 | 0ms | 492kb | Corect | 10 |
10 | 0ms | 492kb | Corect | 10 |
Punctaj total | 91 |