Borderou de evaluare (job #1221119)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:17: warning: unused variable ‘nr’ [-Wunused-variable]
int t, aux, nr, sol;
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.in","r",stdin);
^
user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.out","w",stdout);
^
user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v[i].x, &v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 292kb | Incorect | 0 |
Punctaj total | 0 |