Borderou de evaluare (job #1737409)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, mini, maxi, pas, x, y, d;
^
user.cpp:29:18: warning: variable ‘mini’ set but not used [-Wunused-but-set-variable]
int n, i, j, mini, maxi, pas, x, y, d;
^
user.cpp:29:35: warning: unused variable ‘x’ [-Wunused-variable]
int n, i, j, mini, maxi, pas, x, y, d;
^
user.cpp:29:38: warning: unused variable ‘y’ [-Wunused-variable]
int n, i, j, mini, maxi, pas, x, y, d;
^
user.cpp:29:41: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, mini, maxi, pas, x, y, d;
^
user.cpp: In function ‘bool validare(int, int)’:
user.cpp:56:12: warning: unused variable ‘k’ [-Wunused-variable]
int i, k, d, resurse;
^
user.cpp: In function ‘int main()’:
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criza.in","r",stdin);
^
user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criza.out","w",stdout);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:35:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[ i ].dist,&v[ i ].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 1428kb | Incorect | 0 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 328kb | Incorect | 0 |
6 | 8ms | 456kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 |
8 | 40ms | 1072kb | OK | 10 |
9 | 68ms | 1548kb | Incorect | 0 |
10 | 0ms | 292kb | OK | 10 |
Punctaj total | 50 |