Pagini recente » Borderou de evaluare (job #2126590) | Borderou de evaluare (job #986206) | Borderou de evaluare (job #857287) | Borderou de evaluare (job #2835127) | Borderou de evaluare (job #2283940)
Borderou de evaluare (job #2283940)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:31: warning: unused variable 'j' [-Wunused-variable]
int st1,st2,dr1,dr2,n,k,i,j,maxim=0,s;
^
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in","r",stdin);
^
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.out","w",stdout);
^
main.cpp:13:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:15:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 6ms | 131kb | OK | 10 |
| 4 | 11ms | 262kb | OK | 10 |
| 5 | 12ms | 393kb | OK | 10 |
| 6 | 21ms | 262kb | OK | 10 |
| 7 | 28ms | 393kb | OK | 10 |
| 8 | 22ms | 524kb | OK | 10 |
| 9 | 40ms | 524kb | OK | 10 |
| 10 | 40ms | 524kb | OK | 10 |
| Punctaj total | 100 |