Pagini recente » Borderou de evaluare (job #586457) | Borderou de evaluare (job #3123297) | Borderou de evaluare (job #371028) | Borderou de evaluare (job #89997) | Borderou de evaluare (job #1446898)
Borderou de evaluare (job #1446898)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:13: warning: unused variable ‘x’ [-Wunused-variable]
int x;
^
user.cpp:10: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:11: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:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:17: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:19: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 | 20ms | 1844kb | Wall time limit exceeded. | 0 |
Punctaj total | 0 |