Pagini recente » Borderou de evaluare (job #346380) | Borderou de evaluare (job #878374) | Borderou de evaluare (job #1483519)
Borderou de evaluare (job #1483519)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:80: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
freopen("nunta.in","r",stdin),freopen("nunta.out","w",stdout),scanf("%d",&n),a[1]=b[1]=c[1]=a[0]=b[0]=c[0]=1;
^
user.cpp:9:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i]=(t+=b[i]+c[i])%10;
^
user.cpp:9:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i]=(t+=b[i]+c[i])%10;
^
user.cpp:9:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i]=(t+=b[i]+c[i])%10;
^
user.cpp:13:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d",a[i]);
^
user.cpp:5:113: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nunta.in","r",stdin),freopen("nunta.out","w",stdout),scanf("%d",&n),a[1]=b[1]=c[1]=a[0]=b[0]=c[0]=1;
^
user.cpp:5:113: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:5:113: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | Depăşit | Memory limit exceeded. | 0 |
3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
4 | 0ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |