Pagini recente » Borderou de evaluare (job #2930357) | Borderou de evaluare (job #267658) | Borderou de evaluare (job #2364806) | Borderou de evaluare (job #2100550) | Borderou de evaluare (job #1842814)
Borderou de evaluare (job #1842814)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: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:16: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:18: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:20: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 | 464kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 0ms | 500kb | OK | 10 |
4 | 4ms | 512kb | OK | 10 |
5 | 4ms | 524kb | OK | 10 |
6 | 40ms | 1196kb | OK | 10 |
7 | 52ms | 1344kb | OK | 10 |
8 | 56ms | 1448kb | OK | 10 |
9 | 52ms | 1368kb | OK | 10 |
10 | 52ms | 1448kb | OK | 10 |
Punctaj total | 100 |