Borderou de evaluare (job #1591076)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("razboi.in","r",stdin);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("razboi.out","w",stdout);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&T);
^
user.cpp:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&N);
^
user.cpp:39:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ",&x,&y,&z);
^
user.cpp:23:21: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int m = 1,x,y,i,j,z,maxvt;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 160ms | 1672kb | OK | 100 |
Punctaj total | 100 |