Pagini recente » Borderou de evaluare (job #2117069) | Borderou de evaluare (job #2959680) | Borderou de evaluare (job #2798359) | Borderou de evaluare (job #639129) | Borderou de evaluare (job #1468509)
Borderou de evaluare (job #1468509)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
user.cpp:14:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=p;++i) scanf("%d",&a[i]);a[p+1]=n+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 292kb | OK | 10 | 20 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 | 20 |
4 | 0ms | 280kb | OK | 10 |
5 | 44ms | 612kb | OK | 10 | 20 |
6 | 60ms | 600kb | OK | 10 |
7 | 252ms | 3092kb | OK | 10 | 40 |
8 | 524ms | 3100kb | OK | 10 |
9 | 616ms | 3100kb | OK | 10 |
10 | 808ms | 3080kb | OK | 10 |
Punctaj total | 100 |