Pagini recente » Borderou de evaluare (job #127448) | Borderou de evaluare (job #2623732) | Borderou de evaluare (job #741874) | Borderou de evaluare (job #2790758) | Borderou de evaluare (job #1713322)
Borderou de evaluare (job #1713322)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:32: warning: unused variable ‘sf’ [-Wunused-variable]
int i,n,k,smax=0,stemp,inc,sf;
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.out","w",stdout);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:13:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 12ms | 496kb | OK | 10 |
5 | 12ms | 504kb | OK | 10 |
6 | 16ms | 576kb | OK | 10 |
7 | 20ms | 576kb | OK | 10 |
8 | 24ms | 656kb | OK | 10 |
9 | 24ms | 652kb | OK | 10 |
10 | 24ms | 652kb | OK | 10 |
Punctaj total | 100 |