Pagini recente » Borderou de evaluare (job #1558126) | Borderou de evaluare (job #1001297) | Borderou de evaluare (job #1674993) | Borderou de evaluare (job #3200935) | Borderou de evaluare (job #1721903)
Borderou de evaluare (job #1721903)
Raport evaluator
Compilare:
user.cpp: In function ‘void stergere(int, int)’:
user.cpp:34:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr = n-pos2,actual = 1;
^
user.cpp:34:21: warning: unused variable ‘actual’ [-Wunused-variable]
int nr = n-pos2,actual = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:44:10: warning: unused variable ‘pozitiv’ [-Wunused-variable]
bool pozitiv = false;
^
user.cpp:48:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^
user.cpp:49:10: warning: unused variable ‘Oca’ [-Wunused-variable]
bool Oca = false;
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("minim.in", "r", stdin);
^
user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("minim.out", "w", stdout);
^
user.cpp:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 0ms | 432kb | OK | 10 |
6 | 0ms | 436kb | OK | 10 |
7 | 0ms | 432kb | OK | 10 |
8 | 0ms | 432kb | OK | 10 |
9 | 0ms | 444kb | OK | 10 |
10 | 4ms | 436kb | OK | 10 |
Punctaj total | 100 |