Pagini recente » Borderou de evaluare (job #2645687) | Borderou de evaluare (job #931519) | Borderou de evaluare (job #1929145) | Borderou de evaluare (job #2846860) | Borderou de evaluare (job #1248732)
Borderou de evaluare (job #1248732)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(j=1;j<=m;j++) sum[s[j]]++;
^
user.cpp:38:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val != sum[c]) ans[i][j] = 1;
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrix.in","r",stdin);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrix.out","w",stdout);
^
user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:23:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%s",a[i]+1);
^
user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 4412kb | Incorect | 0 |
2 | 28ms | 4440kb | Incorect | 0 |
3 | 28ms | 4456kb | Incorect | 0 |
4 | 28ms | 4492kb | Incorect | 0 |
5 | 28ms | 4532kb | Incorect | 0 |
6 | 28ms | 4544kb | OK | 5 |
7 | 32ms | 4568kb | Incorect | 0 |
8 | 32ms | 4648kb | Incorect | 0 |
9 | 32ms | 4676kb | Incorect | 0 |
10 | 32ms | 4704kb | Incorect | 0 |
11 | 40ms | 4892kb | Incorect | 0 |
12 | 56ms | 5096kb | Incorect | 0 |
13 | 72ms | 5192kb | Incorect | 0 |
14 | 92ms | 5384kb | Incorect | 0 |
15 | 172ms | 5876kb | Incorect | 0 |
16 | 136ms | 5584kb | Incorect | 0 |
17 | 228ms | 6172kb | Incorect | 0 |
18 | 168ms | 5716kb | Incorect | 0 |
19 | 192ms | 5880kb | Incorect | 0 |
20 | 188ms | 5876kb | Incorect | 0 |
Punctaj total | 5 |