Pagini recente » Borderou de evaluare (job #2037271) | Borderou de evaluare (job #2508765) | Borderou de evaluare (job #1163210) | Borderou de evaluare (job #1155823) | Borderou de evaluare (job #1576211)
Borderou de evaluare (job #1576211)
Raport evaluator
Compilare:
user.cpp: In function ‘void bordare()’:
user.cpp:16:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:41:28: warning: narrowing conversion of ‘x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
q[++u]=(pozitie){x1, y1};
^
user.cpp:41:28: warning: narrowing conversion of ‘y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:30:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy;
^
user.cpp:30:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy;
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alee.in","r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alee.out","w",stdout);
^
user.cpp:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&copaci);
^
user.cpp:34:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&xx,&yy);
^
user.cpp:37:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 308kb | OK | 10 |
6 | 0ms | 396kb | OK | 10 |
7 | 4ms | 388kb | OK | 10 |
8 | 0ms | 448kb | OK | 10 |
9 | 0ms | 336kb | OK | 10 |
10 | 0ms | 308kb | OK | 10 |
Punctaj total | 100 |