Pagini recente » Borderou de evaluare (job #3225831) | Borderou de evaluare (job #1078423) | Borderou de evaluare (job #864991) | Borderou de evaluare (job #712691) | Borderou de evaluare (job #1494423)
Borderou de evaluare (job #1494423)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for (int i = 0; i < 10; ++i) scanf("%d", &A[i]);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere8.out", "w", stdout);
^
user.cpp:17:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < 10; ++i) scanf("%d", &A[i]);
^
user.cpp:43:3: warning: ‘sc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (sc & (1 << i)) printf("%d ", A[i]);
^
user.cpp:39:3: warning: ‘fs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (fs & (1 << i)) printf("%d ", A[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | Numar de perechi gresit !!! | 0 |
2 | 0ms | 300kb | Raspuns corect !!! | 10 |
3 | 0ms | 296kb | Raspuns corect !!! | 10 |
4 | 0ms | 296kb | Numar de perechi gresit !!! | 0 |
5 | 0ms | 304kb | Numar de perechi gresit !!! | 0 |
6 | 0ms | 304kb | Numar de perechi gresit !!! | 0 |
7 | 0ms | 304kb | Numar de perechi gresit !!! | 0 |
8 | 0ms | 304kb | Raspuns corect !!! | 10 |
9 | 0ms | 300kb | Raspuns corect !!! | 10 |
10 | 0ms | 296kb | Numar de perechi gresit !!! | 0 |
Punctaj total | 40 |