Pagini recente » Borderou de evaluare (job #41594) | Borderou de evaluare (job #1816786) | Borderou de evaluare (job #1606348) | Borderou de evaluare (job #917571) | Borderou de evaluare (job #1351774)
Borderou de evaluare (job #1351774)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(v[i][a] != 's' & v[i][a] != 'd' && v[i][b] != 's' & v[i][b] != 'd')
^
user.cpp:21:59: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(v[i][a] != 's' & v[i][a] != 'd' && v[i][b] != 's' & v[i][b] != 'd')
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 572ms | 544kb | Incorect | 0 |
Punctaj total | 0 |