Pagini recente » Borderou de evaluare (job #1813179) | Borderou de evaluare (job #2517916) | Borderou de evaluare (job #1724589) | Cod sursa (job #1361555) | Borderou de evaluare (job #2198885)
Borderou de evaluare (job #2198885)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:15: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,n,k=0,prev=-1,l=1;
^
user.cpp:31:19: warning: unused variable ‘prev’ [-Wunused-variable]
int i,j,n,k=0,prev=-1,l=1;
^~~~
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("trapez.in","r",stdin);
^
user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out","w",stdout);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:37:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p.x,&p.y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 880kb | Ok! | 10 |
| 2 | 128ms | 6832kb | Ok! | 10 |
| 3 | 0ms | 824kb | Ok! | 10 |
| 4 | 128ms | 6828kb | Ok! | 10 |
| 5 | 0ms | 820kb | Ok! | 10 |
| 6 | 0ms | 892kb | Ok! | 10 |
| 7 | 128ms | 5252kb | Ok! | 10 |
| 8 | 28ms | 1632kb | Ok! | 10 |
| 9 | 128ms | 4980kb | Ok! | 10 |
| 10 | 124ms | 5248kb | Ok! | 10 |
| Punctaj total | 100 |