Pagini recente » Borderou de evaluare (job #2862652) | Borderou de evaluare (job #1410113) | Borderou de evaluare (job #1516687) | Borderou de evaluare (job #3277244) | Borderou de evaluare (job #1763184)
Borderou de evaluare (job #1763184)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:17: warning: unused variable ‘need’ [-Wunused-variable]
int need = i;
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese3.in", "r", stdin);
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese3.out", "w", stdout);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t){
^
user.cpp:34:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:40:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2472ms | 8264kb | OK | 100 |
Punctaj total | 100 |