Pagini recente » Borderou de evaluare (job #739097) | Borderou de evaluare (job #1244384)
Borderou de evaluare (job #1244384)
Raport evaluator
Compilare:
user.cpp:26:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:34:89: note: in expansion of macro ‘INF’
int N,M,op[DIM],s[DIM],v[DIM],ans[DIM],i,j,Max[DIM],TT[DIM],RG[DIM],nr[DIM],maxim,minim=INF;
^
user.cpp: In function ‘int main()’:
user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmax.in","r",stdin);
^
user.cpp:59:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmax.out","w",stdout);
^
user.cpp:60:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:63:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:68:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=M;i++) scanf("%d",&op[i]),s[i]=i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 464kb | Incorect | 0 | 0 |
2 | 8ms | 488kb | Incorect | 0 | 0 |
3 | 8ms | 488kb | OK | 10 | 10 |
4 | Depăşit | 812kb | Time limit exceeded. | 0 | 0 |
5 | 56ms | 1580kb | OK | 10 | 0 |
6 | Depăşit | 1824kb | Time limit exceeded. | 0 |
7 | Depăşit | 2668kb | Time limit exceeded. | 0 | 0 |
8 | 124ms | 3032kb | OK | 10 | 0 |
9 | Depăşit | 2964kb | Time limit exceeded. | 0 |
10 | Depăşit | 2868kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 10 |