Pagini recente » Borderou de evaluare (job #649392) | Borderou de evaluare (job #2535808) | Borderou de evaluare (job #905327) | Borderou de evaluare (job #317255) | Borderou de evaluare (job #1466258)
Borderou de evaluare (job #1466258)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",v[n][n]);
^
user.cpp:24:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for(i=2;i<=n;++i) printf("%ld\n",r[i]);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.out","w",stdout);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:13:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=n;++j) {scanf("%c ",&t); v[i][j]=(t-'0')+v[i][j-1]+v[i-1][j]-v[i-1][j-1];}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 156ms | 2248kb | OK | 10 |
2 | 0ms | 396kb | OK | 10 |
3 | 0ms | 512kb | OK | 10 |
4 | 0ms | 668kb | OK | 10 |
5 | 132ms | 4200kb | OK | 10 |
6 | 92ms | 3320kb | OK | 10 |
7 | Depăşit | 4160kb | Time limit exceeded. | 0 |
8 | Depăşit | 4156kb | Time limit exceeded. | 0 |
9 | Depăşit | 4108kb | Time limit exceeded. | 0 |
10 | Depăşit | 4156kb | Time limit exceeded. | 0 |
Punctaj total | 60 |