Pagini recente » Borderou de evaluare (job #1930145) | Borderou de evaluare (job #2597521) | Borderou de evaluare (job #1864312) | Borderou de evaluare (job #163287) | Borderou de evaluare (job #1248733)
Borderou de evaluare (job #1248733)
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 | 1480kb | Incorect | 0 |
3 | 4ms | 1496kb | Incorect | 0 |
4 | 4ms | 1536kb | Incorect | 0 |
5 | 4ms | 1568kb | Incorect | 0 |
6 | 4ms | 1584kb | OK | 5 |
7 | 4ms | 1612kb | Incorect | 0 |
8 | 8ms | 1692kb | Incorect | 0 |
9 | 8ms | 1724kb | Incorect | 0 |
10 | 8ms | 1744kb | Incorect | 0 |
11 | 20ms | 2124kb | Incorect | 0 |
12 | 32ms | 2720kb | Incorect | 0 |
13 | 48ms | 3216kb | Incorect | 0 |
14 | 72ms | 3800kb | Incorect | 0 |
15 | 148ms | 5072kb | Incorect | 0 |
16 | 112ms | 4784kb | Incorect | 0 |
17 | 208ms | 6156kb | Incorect | 0 |
18 | 144ms | 5704kb | Incorect | 0 |
19 | 168ms | 5868kb | Incorect | 0 |
20 | 164ms | 5864kb | Incorect | 0 |
Punctaj total | 5 |