Pagini recente » Borderou de evaluare (job #2257153) | Borderou de evaluare (job #1067960) | Borderou de evaluare (job #2267835) | Borderou de evaluare (job #344141) | Borderou de evaluare (job #1441895)
Borderou de evaluare (job #1441895)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
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(int i=1;i<=n-K+1;i++) scanf("%d",&a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:45:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros.in","r",stdin);
^
user.cpp:46:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros.out","w",stdout);
^
user.cpp:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 300ms | 632kb | Gresit | 0 |
| Punctaj total | 0 |