Pagini recente » Borderou de evaluare (job #1845154) | Borderou de evaluare (job #1868768) | Borderou de evaluare (job #2817269) | Borderou de evaluare (job #1300756) | Borderou de evaluare (job #1400215)
Borderou de evaluare (job #1400215)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:35: warning: unused variable ‘c’ [-Wunused-variable]
int i, t, cmin, st, dr, mijl, c, lg;
^
user.cpp:16:38: warning: unused variable ‘lg’ [-Wunused-variable]
int i, t, cmin, st, dr, mijl, c, lg;
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split2.in", "r", stdin);
^
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split2.out", "w", stdout);
^
user.cpp:18: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:20:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:22:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= n; ++i) scanf("%d", v + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 260kb | Time limit exceeded. | 0 |
Punctaj total | 0 |