Pagini recente » Borderou de evaluare (job #1056223) | Borderou de evaluare (job #579645) | Borderou de evaluare (job #550020) | Borderou de evaluare (job #1175054) | Borderou de evaluare (job #1441784)
Borderou de evaluare (job #1441784)
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 | 948ms | 1996kb | Gresit | 0 |
Punctaj total | 0 |