Pagini recente » Borderou de evaluare (job #2251944) | Borderou de evaluare (job #3254384) | Borderou de evaluare (job #314863) | Borderou de evaluare (job #561269) | Borderou de evaluare (job #1842809)
Borderou de evaluare (job #1842809)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:18: warning: pointer to a function used in arithmetic [-Wpointer-arith]
if(free[r]==0){
^
user.cpp:10:44: warning: unused variable ‘ad’ [-Wunused-variable]
int n,t,i,r,lc=1,lmin=2000000,nr=0,p=0,ad;
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.out","w",stdout);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&t); //citim n,t
^
user.cpp:16:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]),freee[v[i]]++;
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK | 10 |
2 | 0ms | 496kb | OK | 10 |
3 | 4ms | 520kb | OK | 10 |
4 | 4ms | 532kb | OK | 10 |
5 | 4ms | 548kb | OK | 10 |
6 | 88ms | 1480kb | OK | 10 |
7 | Depăşit | 1688kb | Time limit exceeded. | 0 |
8 | Depăşit | 1800kb | Time limit exceeded. | 0 |
9 | Depăşit | 1744kb | Time limit exceeded. | 0 |
10 | Depăşit | 1820kb | Time limit exceeded. | 0 |
Punctaj total | 60 |