Pagini recente » Borderou de evaluare (job #3155343) | Borderou de evaluare (job #746520) | Borderou de evaluare (job #1435099) | Borderou de evaluare (job #807315) | Borderou de evaluare (job #1442141)
Borderou de evaluare (job #1442141)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:13: warning: unused variable ‘poz’ [-Wunused-variable]
int poz = 0;
^
user.cpp:18:45: 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:19:47: 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:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
user.cpp:31:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s[K + i - 1].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 416ms | 1604kb | Gresit | 0 |
Punctaj total | 0 |