Pagini recente » Borderou de evaluare (job #1646966) | Borderou de evaluare (job #1696305) | Borderou de evaluare (job #3122258) | Borderou de evaluare (job #610502) | Borderou de evaluare (job #1568964)
Borderou de evaluare (job #1568964)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:22:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat=]
scanf("%s",&cuvord);
^
user.cpp:23:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (i=0; i<=11; i++) v[cuvord[i]]=i+1;
^
user.cpp:25:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[7]’ [-Wformat=]
scanf("%s",&a[i].cuvant);
^
user.cpp: In function ‘bool cmp(cuvantul, cuvantul)’:
user.cpp:36:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[cuvantul1[i]]<v[cuvantul2[i]]) return 1;
^
user.cpp:36:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[cuvantul1[i]]<v[cuvantul2[i]]) return 1;
^
user.cpp:37:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if (v[cuvantul1[i]]>v[cuvantul2[i]]) return 0;
^
user.cpp:37:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if (v[cuvantul1[i]]>v[cuvantul2[i]]) return 0;
^
user.cpp: In function ‘void citire()’:
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&cuvord);
^
user.cpp:25:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a[i].cuvant);
^
user.cpp: In function ‘int main()’:
user.cpp:43: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:44: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Incorect | 0 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 148ms | 768kb | Incorect | 0 |
4 | 296ms | 1104kb | Incorect | 0 |
5 | Depăşit | 1756kb | Time limit exceeded. | 0 |
6 | Depăşit | 3124kb | Time limit exceeded. | 0 |
7 | 0ms | 428kb | OK | 5 |
8 | 0ms | 436kb | OK | 5 |
9 | 4ms | 440kb | OK | 5 |
10 | 12ms | 456kb | OK | 5 |
11 | 24ms | 488kb | OK | 5 |
12 | 48ms | 560kb | OK | 5 |
13 | 116ms | 696kb | OK | 5 |
14 | 224ms | 968kb | OK | 5 |
15 | 296ms | 1112kb | OK | 5 |
16 | Depăşit | 1412kb | Time limit exceeded. | 0 |
17 | Depăşit | 1752kb | Time limit exceeded. | 0 |
18 | Depăşit | 2104kb | Time limit exceeded. | 0 |
19 | Depăşit | 2580kb | Time limit exceeded. | 0 |
20 | Depăşit | 3116kb | Time limit exceeded. | 0 |
Punctaj total | 45 |