Pagini recente » Borderou de evaluare (job #1740107) | Borderou de evaluare (job #1761056) | Borderou de evaluare (job #322286) | Borderou de evaluare (job #1186900) | Borderou de evaluare (job #1407824)
Borderou de evaluare (job #1407824)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.in", "r", stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.out", "w", stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &T);
^
user.cpp:18:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &N, &M, &X);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &tmp);
^
user.cpp:28:35: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(LL i = s - M - v + 2, j = s - v + 1; i<=s-M; i++, j++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 264ms | 276kb | OK | 100 |
Punctaj total | 100 |