Pagini recente » Borderou de evaluare (job #57229) | Borderou de evaluare (job #2957506) | Borderou de evaluare (job #1597895) | Borderou de evaluare (job #1461868) | Borderou de evaluare (job #1455932)
Borderou de evaluare (job #1455932)
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: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:42:13: 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 | 272kb | Numar de prieteni gresit! | 0 |
2 | 0ms | 272kb | Corect! | 10 |
3 | 0ms | 268kb | Numar de prieteni gresit! | 0 |
4 | 4ms | 392kb | Numar de prieteni gresit! | 0 |
5 | 32ms | 892kb | Numar de prieteni gresit! | 0 |
6 | 72ms | 1908kb | Numar de prieteni gresit! | 0 |
7 | 184ms | 4180kb | Numar de prieteni gresit! | 0 |
8 | 292ms | 5740kb | Corect! | 10 |
9 | 476ms | 8072kb | Corect! | 10 |
10 | 484ms | 8068kb | Corect! | 10 |
Punctaj total | 40 |