Pagini recente » Borderou de evaluare (job #2352248) | Borderou de evaluare (job #2554817) | Borderou de evaluare (job #1670778) | Borderou de evaluare (job #2762860) | Borderou de evaluare (job #1677905)
Borderou de evaluare (job #1677905)
Raport evaluator
Compilare:
user.cpp: In function ‘bool compare(z, z)’:
user.cpp:17:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c[a.s[i]][b.s[i]])
^
user.cpp:17:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c[a.s[i]][b.s[i]])
^
user.cpp:20:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c[b.s[i]][a.s[i]])
^
user.cpp:20:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c[b.s[i]][a.s[i]])
^
user.cpp: In function ‘int main()’:
user.cpp:35:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=]
scanf("%s\n",&s);
^
user.cpp:39:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[s[i]][s[j]]=1;
^
user.cpp:39:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[s[i]][s[j]]=1;
^
user.cpp:41:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘z*’ [-Wformat=]
scanf("%s\n",&v[i]);
^
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&p,&n);
^
user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&s);
^
user.cpp:41:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 5 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 44ms | 560kb | OK | 5 |
| 4 | 100ms | 852kb | OK | 5 |
| 5 | 208ms | 1440kb | OK | 5 |
| 6 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| 7 | 0ms | 252kb | OK | 5 |
| 8 | 0ms | 264kb | OK | 5 |
| 9 | 0ms | 272kb | OK | 5 |
| 10 | 4ms | 284kb | OK | 5 |
| 11 | 8ms | 320kb | OK | 5 |
| 12 | 20ms | 372kb | OK | 5 |
| 13 | 44ms | 492kb | OK | 5 |
| 14 | 96ms | 724kb | OK | 5 |
| 15 | 116ms | 844kb | OK | 5 |
| 16 | 180ms | 1136kb | OK | 5 |
| 17 | 248ms | 1424kb | OK | 5 |
| 18 | Depăşit | 1716kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2116kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |