Pagini recente » Cod sursa (job #2223456) | Borderou de evaluare (job #2582052) | Cod sursa (job #1691905) | Borderou de evaluare (job #1607828)
Borderou de evaluare (job #1607828)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:23: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
int n,i,j,m,v[100001],w[100001],q,l,lm ;
^
user.cpp:6:33: 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:7:34: 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:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",v+i);w[i]=-1;}
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 436kb | OK | 10 | 10 |
2 | 4ms | 436kb | OK | 10 | 10 |
3 | 4ms | 440kb | OK | 10 | 10 |
4 | Depăşit | 456kb | Time limit exceeded. | 0 | 0 |
5 | Depăşit | 576kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 652kb | Time limit exceeded. | 0 |
7 | Depăşit | 736kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 772kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 804kb | Time limit exceeded. | 0 |
10 | Depăşit | 804kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 30 |