Borderou de evaluare (job #1814175)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:33: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, k, t, x, y, s, ct, K;
^
user.cpp:49:40: warning: unused variable ‘K’ [-Wunused-variable]
int n, m, i, j, k, t, x, y, s, ct, K;
^
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arhipelag.in","r",stdin);
^
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arhipelag.out","w",stdout);
^
user.cpp:51:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:54:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:56:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:66:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for ( i = 1; i <= k; ++i ) scanf("%d",&ordi[ i ]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 72ms | 3784kb | OK | 100 |
Punctaj total | 100 |