Pagini recente » Borderou de evaluare (job #2524245) | Borderou de evaluare (job #2501336) | Borderou de evaluare (job #1528934) | Borderou de evaluare (job #3227271) | Borderou de evaluare (job #1248728)
Borderou de evaluare (job #1248728)
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 | 4ms | 1452kb | Incorect | 0 |
2 | 4ms | 1488kb | Incorect | 0 |
3 | 4ms | 1500kb | Incorect | 0 |
4 | 4ms | 1540kb | Incorect | 0 |
5 | 4ms | 1576kb | Incorect | 0 |
6 | 4ms | 1584kb | OK | 5 |
7 | 8ms | 1612kb | Incorect | 0 |
8 | 8ms | 1684kb | Incorect | 0 |
9 | 8ms | 1724kb | Incorect | 0 |
10 | 8ms | 1744kb | Incorect | 0 |
11 | 16ms | 2124kb | Incorect | 0 |
12 | 32ms | 2720kb | Incorect | 0 |
13 | 48ms | 3220kb | Incorect | 0 |
14 | 68ms | 3804kb | Incorect | 0 |
15 | 148ms | 5080kb | Incorect | 0 |
16 | 112ms | 4780kb | Incorect | 0 |
17 | 208ms | 6160kb | Incorect | 0 |
18 | 144ms | 5704kb | Incorect | 0 |
19 | 168ms | 5864kb | Incorect | 0 |
20 | 164ms | 5864kb | Incorect | 0 |
Punctaj total | 5 |