Pagini recente » Borderou de evaluare (job #2221252) | Borderou de evaluare (job #184555) | Borderou de evaluare (job #246816) | Borderou de evaluare (job #1281923) | Borderou de evaluare (job #1444128)
Borderou de evaluare (job #1444128)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=]
for(i = 0; i < n; ++i) scanf("%d", v + i);
^
user.cpp:14:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.in", "r", stdin);
^
user.cpp:15:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.out", "w", stdout);
^
user.cpp:21: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:23:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; ++i) scanf("%d", v + i);
^
user.cpp:23:9: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = 0; i < n; ++i) scanf("%d", v + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
Punctaj total | 0 |