Pagini recente » Borderou de evaluare (job #2986919) | Borderou de evaluare (job #1541256) | Borderou de evaluare (job #105322) | Borderou de evaluare (job #2883635) | Borderou de evaluare (job #1441792)
Borderou de evaluare (job #1441792)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:13: warning: unused variable ‘x’ [-Wunused-variable]
int x;
^
user.cpp:9: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:10: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:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:18:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = k;i <= n;++i) scanf("%d",p+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 956ms | 1996kb | Gresit | 0 |
Punctaj total | 0 |