Pagini recente » Borderou de evaluare (job #31666) | Borderou de evaluare (job #475119) | Borderou de evaluare (job #105381) | Borderou de evaluare (job #413483) | Borderou de evaluare (job #1502269)
Borderou de evaluare (job #1502269)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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.in", "r", stdin);
^
user.cpp:11: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:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:16:31: 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:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 592ms | 852kb | OK | 100 |
Punctaj total | 100 |