Pagini recente » Borderou de evaluare (job #414775) | Borderou de evaluare (job #311302) | Borderou de evaluare (job #1089776) | Borderou de evaluare (job #100554) | Borderou de evaluare (job #1442151)
Borderou de evaluare (job #1442151)
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 | 432ms | 1596kb | Gresit | 0 |
Punctaj total | 0 |