Pagini recente » Borderou de evaluare (job #3126967) | Borderou de evaluare (job #2542853) | Borderou de evaluare (job #2565394) | Borderou de evaluare (job #256117) | Borderou de evaluare (job #1214597)
Borderou de evaluare (job #1214597)
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:44:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
element[i].first=H[V[i].second].first+1;
^
user.cpp:45:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
element[i].second=H[V[i].second].second;
^
user.cpp:53:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (element[i].first>H[V[i].first].first)
^
user.cpp:55:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
H[V[i].first].first=element[i].first;
^
user.cpp:56: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 | 524kb | Partial incorect | 1 |
2 | 0ms | 488kb | Partial incorect | 1 |
3 | 0ms | 460kb | Partial incorect | 1 |
4 | 0ms | 456kb | Partial incorect | 1 |
5 | 4ms | 752kb | Partial incorect | 1 |
6 | 4ms | 900kb | Partial incorect | 1 |
7 | 0ms | 456kb | Partial incorect | 1 |
8 | 8ms | 1040kb | Partial incorect | 1 |
9 | 0ms | 488kb | Partial incorect | 1 |
10 | 0ms | 488kb | Partial incorect | 1 |
Punctaj total | 10 |