Pagini recente » Borderou de evaluare (job #1615910) | Borderou de evaluare (job #2873840) | Borderou de evaluare (job #1191647) | Borderou de evaluare (job #1312586) | Borderou de evaluare (job #1315960)
Borderou de evaluare (job #1315960)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fol[p1][p2]==0)
^
user.cpp:20:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fol[p1][p2]==0)
^
user.cpp:22:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol[p1][p2]=1;
^
user.cpp:22:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol[p1][p2]=1;
^
user.cpp:23:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sc[p1]++;
^
user.cpp:25:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fol[p2][p1]==0)
^
user.cpp:25:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fol[p2][p1]==0)
^
user.cpp:27:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol[p2][p1]=1;
^
user.cpp:27:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol[p2][p1]=1;
^
user.cpp:28:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sc[p2]++;
^
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 ("nrcuv.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 ("nrcuv.out","w",stdout);
^
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&p1);
^
user.cpp:15:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%c%c",&p1,&p2,&p2);
^
user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&p1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 428kb | Incorect | 0 |
| 2 | 0ms | 428kb | OK | 5 |
| 3 | 0ms | 432kb | OK | 5 |
| 4 | 0ms | 432kb | Incorect | 0 |
| 5 | 0ms | 428kb | Incorect | 0 |
| 6 | 0ms | 432kb | Incorect | 0 |
| 7 | 0ms | 428kb | Incorect | 0 |
| 8 | 0ms | 432kb | Incorect | 0 |
| 9 | 0ms | 428kb | Incorect | 0 |
| 10 | 0ms | 428kb | Incorect | 0 |
| 11 | 0ms | 428kb | Incorect | 0 |
| 12 | 0ms | 424kb | Incorect | 0 |
| 13 | 0ms | 428kb | Incorect | 0 |
| 14 | 0ms | 424kb | Incorect | 0 |
| 15 | 0ms | 428kb | Incorect | 0 |
| 16 | 0ms | 428kb | Incorect | 0 |
| 17 | 0ms | 428kb | Incorect | 0 |
| 18 | 0ms | 428kb | Incorect | 0 |
| 19 | 0ms | 432kb | Incorect | 0 |
| 20 | 0ms | 428kb | OK | 5 |
| Punctaj total | 15 |