Pagini recente » Borderou de evaluare (job #1243968) | Borderou de evaluare (job #2769830) | Borderou de evaluare (job #3202030) | Borderou de evaluare (job #2825512) | Borderou de evaluare (job #1677894)
Borderou de evaluare (job #1677894)
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 | 264kb | OK | 5 |
| 2 | 0ms | 264kb | OK | 5 |
| 3 | 48ms | 552kb | OK | 5 |
| 4 | 96ms | 848kb | OK | 5 |
| 5 | 212ms | 1428kb | OK | 5 |
| 6 | Depăşit | 2576kb | Time limit exceeded. | 0 |
| 7 | 0ms | 248kb | OK | 5 |
| 8 | 0ms | 256kb | OK | 5 |
| 9 | 0ms | 260kb | OK | 5 |
| 10 | 4ms | 276kb | OK | 5 |
| 11 | 8ms | 308kb | OK | 5 |
| 12 | 20ms | 364kb | OK | 5 |
| 13 | 44ms | 484kb | OK | 5 |
| 14 | 92ms | 716kb | OK | 5 |
| 15 | 116ms | 836kb | OK | 5 |
| 16 | 176ms | 1124kb | OK | 5 |
| 17 | 248ms | 1416kb | OK | 5 |
| 18 | Depăşit | 1712kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2108kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |