Pagini recente » Borderou de evaluare (job #3032023) | Borderou de evaluare (job #3236078) | Borderou de evaluare (job #1644748) | Borderou de evaluare (job #215887) | Borderou de evaluare (job #1518012)
Borderou de evaluare (job #1518012)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bin(int, int)’:
user.cpp:10:22: warning: unused variable ‘s’ [-Wunused-variable]
int st, dr, mid, s, t, d;
^
user.cpp:10:25: warning: unused variable ‘t’ [-Wunused-variable]
int st, dr, mid, s, t, d;
^
user.cpp:10:28: warning: unused variable ‘d’ [-Wunused-variable]
int st, dr, mid, s, t, d;
^
user.cpp: In function ‘int main()’:
user.cpp:35:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:35:24: warning: unused variable ‘t’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:35:27: warning: unused variable ‘d’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:35:30: warning: unused variable ‘k’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.in","r",stdin);
^
user.cpp:33:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.out","w",stdout);
^
user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 136ms | 1048kb | OK | 10 |
6 | 188ms | 1048kb | OK | 10 |
7 | 244ms | 1048kb | OK | 10 |
8 | 288ms | 1048kb | OK | 10 |
9 | 348ms | 1048kb | OK | 10 |
10 | 320ms | 1044kb | OK | 10 |
Punctaj total | 100 |