Borderou de evaluare (job #1308082)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:84: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (int i = 1;i <= n;++i) for (int j = 1,p=0;j <= m;++j) scanf("%c\n",&s[i][j]),p+=(s[i][j]-='0'),v[i][j]=v[i-1][j]+p;
^
user.cpp:51:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ternar.in","r",stdin);
^
user.cpp:52:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:54:123: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1;i <= n;++i) for (int j = 1,p=0;j <= m;++j) scanf("%c\n",&s[i][j]),p+=(s[i][j]-='0'),v[i][j]=v[i-1][j]+p;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 836kb | Incorect | 0 | 0 |
2 | 0ms | 900kb | Incorect | 0 |
3 | 0ms | 972kb | Incorect | 0 |
4 | 0ms | 1140kb | Incorect | 0 |
5 | 0ms | 1548kb | Incorect | 0 |
6 | 16ms | 3200kb | Incorect | 0 |
7 | 52ms | 6904kb | Incorect | 0 |
8 | 80ms | 9624kb | Incorect | 0 |
9 | 176ms | 12664kb | Incorect | 0 |
10 | Depăşit | 17632kb | Time limit exceeded. | 0 |
Punctaj total | 0 |