Pagini recente » Borderou de evaluare (job #1265860) | Borderou de evaluare (job #2284349) | Borderou de evaluare (job #2213329) | Borderou de evaluare (job #2452940) | Borderou de evaluare (job #1630898)
Borderou de evaluare (job #1630898)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:32: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c",&p[i][j]), p[i][j] -= '0', r[i][j] = p[i][j];
^
user.cpp:32:15: warning: unused variable ‘val’ [-Wunused-variable]
int n,i,j,val,l,lr,nr,lp,np;
^
user.cpp:32:19: warning: unused variable ‘l’ [-Wunused-variable]
int n,i,j,val,l,lr,nr,lp,np;
^
user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("figuri2.in","r",stdin);
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("figuri2.out","w",stdout);
^
user.cpp:33:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:37:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&p[i][j]), p[i][j] -= '0', r[i][j] = p[i][j];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 480kb | OK | 10 |
2 | 16ms | 584kb | OK | 10 |
3 | 40ms | 632kb | OK | 10 |
4 | Depăşit | 692kb | Time limit exceeded. | 0 |
5 | Depăşit | 708kb | Time limit exceeded. | 0 |
6 | Depăşit | 732kb | Time limit exceeded. | 0 |
7 | 48ms | 756kb | OK | 10 |
8 | Depăşit | 788kb | Time limit exceeded. | 0 |
9 | Depăşit | 792kb | Time limit exceeded. | 0 |
10 | Depăşit | 796kb | Time limit exceeded. | 0 |
Punctaj total | 40 |