Pagini recente » Borderou de evaluare (job #1967688) | Borderou de evaluare (job #2018413) | Borderou de evaluare (job #231511) | Borderou de evaluare (job #2050258) | Borderou de evaluare (job #1455935)
Borderou de evaluare (job #1455935)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, x, ma, ok, ok2;
^
user.cpp:12:25: warning: unused variable ‘ok’ [-Wunused-variable]
int n, i, j, x, ma, ok, ok2;
^
user.cpp:12:29: warning: unused variable ‘ok2’ [-Wunused-variable]
int n, i, j, x, ma, ok, ok2;
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.in","r",stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:33:9: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( v[i] == x ) printf("%d\n",i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Corect! | 10 |
2 | 0ms | 276kb | Numar de prieteni gresit! | 0 |
3 | 0ms | 272kb | Corect! | 10 |
4 | 4ms | 400kb | Corect! | 10 |
5 | 24ms | 900kb | Corect! | 10 |
6 | 76ms | 1916kb | Corect! | 10 |
7 | 192ms | 4180kb | Corect! | 10 |
8 | 292ms | 5744kb | Corect! | 10 |
9 | 468ms | 8072kb | Corect! | 10 |
10 | 440ms | 8080kb | Corect! | 10 |
Punctaj total | 90 |