Pagini recente » Borderou de evaluare (job #2782700) | Borderou de evaluare (job #1286689) | Borderou de evaluare (job #1807668) | Borderou de evaluare (job #429570) | Borderou de evaluare (job #1444134)
Borderou de evaluare (job #1444134)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25: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:15: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:16: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:22: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:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:25: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 268kb | Incorect | 0 |
Punctaj total | 0 |