Pagini recente » Borderou de evaluare (job #879997) | Borderou de evaluare (job #2085478) | Cod sursa (job #3161727) | Cod sursa (job #886160) | Borderou de evaluare (job #1839095)
Borderou de evaluare (job #1839095)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int*, int, int, int)’:
user.cpp:15:15: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, s;
^
user.cpp:15:18: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
int i, j, k, s;
^
user.cpp: In function ‘int main()’:
user.cpp:42:12: warning: unused variable ‘m’ [-Wunused-variable]
int n, m, i, j, k, sa, sb, xi, yi, xf, yf, sol, ans;
^
user.cpp:42:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, k, sa, sb, xi, yi, xf, yf, sol, ans;
^
user.cpp:42:48: warning: unused variable ‘sol’ [-Wunused-variable]
int n, m, i, j, k, sa, sb, xi, yi, xf, yf, sol, ans;
^
user.cpp:42:53: warning: unused variable ‘ans’ [-Wunused-variable]
int n, m, i, j, k, sa, sb, xi, yi, xf, yf, sol, ans;
^
user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pipe.in","r",stdin);
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pipe.out","w",stdout);
^
user.cpp:47:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d%d%d%d",&n,&xi,&yi,&xf,&yf );
^
user.cpp:50:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%*c%c%d",&c,&k );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 688kb | OK | 10 |
2 | 20ms | 692kb | OK | 10 |
3 | 4ms | 696kb | OK | 10 |
4 | 8ms | 692kb | OK | 10 |
5 | 16ms | 696kb | OK | 10 |
6 | 16ms | 696kb | OK | 10 |
7 | 16ms | 692kb | OK | 10 |
8 | 20ms | 696kb | OK | 10 |
9 | 20ms | 680kb | Incorect | 0 |
10 | 0ms | 692kb | OK | 10 |
Punctaj total | 90 |