Pagini recente » Borderou de evaluare (job #560879) | Borderou de evaluare (job #2125428) | Borderou de evaluare (job #2230194) | Borderou de evaluare (job #415937) | Borderou de evaluare (job #1677891)
Borderou de evaluare (job #1677891)
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:45:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘z’ [-Wformat=]
printf("%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 | 276kb | OK | 5 |
3 | 44ms | 556kb | OK | 5 |
4 | 100ms | 848kb | OK | 5 |
5 | 208ms | 1436kb | OK | 5 |
6 | Depăşit | 2584kb | Time limit exceeded. | 0 |
7 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 8ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 16ms | 364kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 36ms | 480kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 76ms | 716kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 96ms | 836kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 148ms | 1132kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 208ms | 1416kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 260ms | 1716kb | Killed by signal 11(SIGSEGV). | 0 |
19 | Depăşit | 2116kb | Time limit exceeded. | 0 |
20 | Depăşit | 2584kb | Time limit exceeded. | 0 |
Punctaj total | 25 |