Pagini recente » Borderou de evaluare (job #2813066) | Borderou de evaluare (job #120420) | Borderou de evaluare (job #2808749) | Borderou de evaluare (job #1240421) | Borderou de evaluare (job #1313616)
Borderou de evaluare (job #1313616)
Raport evaluator
Compilare:
user.cpp:5:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
#define NMAX 1<<20+2
^
user.cpp:8:7: note: in expansion of macro ‘NMAX’
int v[NMAX];
^
user.cpp: In function ‘long long int sol(int)’:
user.cpp:18:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(H.size()>x)
^
user.cpp: In function ‘int main()’:
user.cpp:35:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sol(u)-sol(l-1));
^
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
user.cpp:32:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&l,&u);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 4ms | 280kb | Incorect | 0 |
3 | 16ms | 360kb | Incorect | 0 |
4 | 72ms | 676kb | Incorect | 0 |
5 | 60ms | 812kb | Incorect | 0 |
6 | 352ms | 1540kb | Incorect | 0 |
7 | 736ms | 3180kb | Incorect | 0 |
8 | 1028ms | 4412kb | Incorect | 0 |
9 | 1532ms | 10932kb | Incorect | 0 |
10 | Depăşit | 14288kb | Time limit exceeded. | 0 |
Punctaj total | 0 |