Pagini recente » Borderou de evaluare (job #3192446) | Borderou de evaluare (job #3225565) | Borderou de evaluare (job #2586340) | Borderou de evaluare (job #2665073) | Borderou de evaluare (job #1237911)
Borderou de evaluare (job #1237911)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(pz.l+m[pz.m]<=n)//est
^
user.cpp:37:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[p].l=pz.l+m[pz.m];
^
user.cpp:44:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(pz.c+m[pz.m]<=n)//vest
^
user.cpp:48:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[p].c=pz.c+m[pz.m];
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd",&a[i][j]);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd",&m[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OKAY! | 10 |
2 | 4ms | Depăşit | Memory limit exceeded. | 0 |
3 | 4ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | Depăşit | Memory limit exceeded. | 0 |
5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
6 | 4ms | Depăşit | Memory limit exceeded. | 0 |
7 | 4ms | Depăşit | Memory limit exceeded. | 0 |
8 | 4ms | Depăşit | Memory limit exceeded. | 0 |
9 | 4ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 272kb | OKAY! | 10 |
Punctaj total | 20 |