Pagini recente » Borderou de evaluare (job #1145251) | Borderou de evaluare (job #1804894) | Borderou de evaluare (job #2383626) | Borderou de evaluare (job #668845) | Borderou de evaluare (job #1264613)
Borderou de evaluare (job #1264613)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i=1;i<13;++i) scanf("%c",c+i),al[c[i]]=i;scanf("\n");
^
user.cpp:24:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int j=0,l=strlen(aux);j<l;++j) s[i]+=al[aux[j]];
^
user.cpp:34:98: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i=1;i<=n;++i,printf("\n")) for (int j=0,l=s[i].size();j<l;++j) printf("%c",c[s[i][j]]);
^
user.cpp:15: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:16: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:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n",&ok,&n);
^
user.cpp:20:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<13;++i) scanf("%c",c+i),al[c[i]]=i;scanf("\n");
^
user.cpp:20:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<13;++i) scanf("%c",c+i),al[c[i]]=i;scanf("\n");
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",aux);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 2008kb | OK | 5 |
| 2 | 4ms | 2036kb | OK | 5 |
| 3 | 84ms | 3568kb | OK | 5 |
| 4 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 64ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 0ms | 2008kb | OK | 5 |
| 8 | 4ms | 2028kb | OK | 5 |
| 9 | 4ms | 2064kb | OK | 5 |
| 10 | 12ms | 2156kb | OK | 5 |
| 11 | 24ms | 2316kb | OK | 5 |
| 12 | 44ms | 2628kb | OK | 5 |
| 13 | 96ms | 3244kb | OK | 5 |
| 14 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 60ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 50 |