Pagini recente » Borderou de evaluare (job #1931936) | Borderou de evaluare (job #2841153) | Borderou de evaluare (job #1458743) | Borderou de evaluare (job #1628070) | Borderou de evaluare (job #1857273)
Borderou de evaluare (job #1857273)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
k2[c]++;
^
user.cpp:74:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!qc[c].empty() && qc[c].back().first==k2[c])
^
user.cpp:74:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!qc[c].empty() && qc[c].back().first==k2[c])
^
user.cpp:74:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!qc[c].empty() && qc[c].back().first==k2[c])
^
user.cpp:76:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[qc[c].back().second]=i;
^
user.cpp:77: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 | 448kb | Incorect | 0 |
2 | 0ms | 456kb | Incorect | 0 |
3 | 0ms | 468kb | Incorect | 0 |
4 | 16ms | 540kb | Incorect | 0 |
5 | 36ms | 592kb | Incorect | 0 |
6 | 84ms | 636kb | Incorect | 0 |
7 | 144ms | 852kb | Incorect | 0 |
8 | 324ms | 1320kb | Incorect | 0 |
9 | 436ms | 1836kb | Incorect | 0 |
10 | 556ms | 1572kb | Incorect | 0 |
Punctaj total | 0 |