Pagini recente » Borderou de evaluare (job #2065068) | Borderou de evaluare (job #593231) | Borderou de evaluare (job #2891722) | Borderou de evaluare (job #1333080) | Borderou de evaluare (job #1617410)
Borderou de evaluare (job #1617410)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Adevar[q[i]]++;
^
user.cpp:46:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Caracter[q[i]] = 1;
^
user.cpp:48:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if( !Caracter[q[i]] ) {
^
user.cpp:49:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while( !Q.empty() && q[i] < Q.top() && Adevar[Q.top()] > 1 ){
^
user.cpp:50:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Adevar[Q.top()]--;
^
user.cpp:51:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Caracter[Q.top()] = 0;
^
user.cpp:54:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Caracter[q[i]] = 1;
^
user.cpp:58:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Adevar[q[i]]--;
^
user.cpp:33:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, p, k, id, ma;
^
user.cpp:33:18: warning: unused variable ‘p’ [-Wunused-variable]
int n, i, j, p, k, id, ma;
^
user.cpp:33:21: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, p, k, id, ma;
^
user.cpp:33:24: warning: unused variable ‘id’ [-Wunused-variable]
int n, i, j, p, k, id, ma;
^
user.cpp:33:28: warning: unused variable ‘ma’ [-Wunused-variable]
int n, i, j, p, k, id, ma;
^
user.cpp:30:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.in","r",stdin);
^
user.cpp:31:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.out","w",stdout);
^
user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:36:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 |
4 | 0ms | 272kb | OK | 5 |
5 | 0ms | 272kb | OK | 5 |
6 | 0ms | 276kb | OK | 5 |
7 | 0ms | 276kb | OK | 5 |
8 | 0ms | 280kb | OK | 5 |
9 | 0ms | 276kb | OK | 5 |
10 | 0ms | 272kb | OK | 5 |
11 | 0ms | 372kb | OK | 5 |
12 | 0ms | 368kb | OK | 5 |
13 | 0ms | 372kb | OK | 5 |
14 | 0ms | 372kb | OK | 5 |
15 | 12ms | 1248kb | OK | 5 |
16 | 12ms | 1248kb | OK | 5 |
17 | 12ms | 1248kb | OK | 5 |
18 | 12ms | 1244kb | OK | 5 |
19 | 12ms | 1244kb | OK | 5 |
20 | 12ms | 1244kb | OK | 5 |
Punctaj total | 100 |