Pagini recente » Borderou de evaluare (job #1135720) | Borderou de evaluare (job #304438) | Borderou de evaluare (job #671927) | Borderou de evaluare (job #402830) | Borderou de evaluare (job #1214612)
Borderou de evaluare (job #1214612)
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: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:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",S);
^
user.cpp:39:18: 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 | 812kb | Corect | 10 |
2 | 0ms | 776kb | Corect | 10 |
3 | 0ms | 744kb | Corect | 10 |
4 | 0ms | 744kb | Corect | 10 |
5 | 4ms | 1040kb | Corect | 10 |
6 | 4ms | 1188kb | Corect | 10 |
7 | 0ms | 748kb | Corect | 10 |
8 | 12ms | 1336kb | Corect | 10 |
9 | 0ms | 780kb | Corect | 10 |
10 | 0ms | 780kb | Corect | 10 |
Punctaj total | 100 |