Pagini recente » Borderou de evaluare (job #980265) | Borderou de evaluare (job #950376) | Borderou de evaluare (job #979472) | Borderou de evaluare (job #106188) | Borderou de evaluare (job #1857347)
Borderou de evaluare (job #1857347)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
k2[c]++;
^
user.cpp:85:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!qc[c].empty() && qc[c].back().first==k2[c])
^
user.cpp:85:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!qc[c].empty() && qc[c].back().first==k2[c])
^
user.cpp:85:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!qc[c].empty() && qc[c].back().first==k2[c])
^
user.cpp:87:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[qc[c].back().second]=i;
^
user.cpp:88:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
qc[c].pop_back();
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qmatrix.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qmatrix.out","w",stdout);
^
user.cpp:11:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&x,&y,&q);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ",&c);
^
user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&k,&p);
^
user.cpp:23:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&k,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 20ms | 548kb | OK | 10 |
5 | 40ms | 616kb | OK | 10 |
6 | 92ms | 692kb | OK | 10 |
7 | 156ms | 924kb | OK | 10 |
8 | 360ms | 1496kb | OK | 10 |
9 | 488ms | 1840kb | OK | 10 |
10 | 616ms | 1840kb | OK | 10 |
Punctaj total | 100 |