Pagini recente » Borderou de evaluare (job #636300) | Borderou de evaluare (job #1870068) | Borderou de evaluare (job #2481041) | Borderou de evaluare (job #956664) | Borderou de evaluare (job #2136275)
Borderou de evaluare (job #2136275)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:13: warning: unused variable ‘j’ [-Wunused-variable]
int j;
^
user.cpp:36:25: warning: unused variable ‘l’ [-Wunused-variable]
int st=1,dr=i-1,l=1;
^
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavymetal.in","r",stdin);
^
user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavymetal.out","w",stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d %d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 820kb | OK | 10 |
2 | 0ms | 816kb | OK | 10 |
3 | 0ms | 828kb | OK | 10 |
4 | 0ms | 876kb | OK | 10 |
5 | 24ms | 1172kb | OK | 10 |
6 | 44ms | 1408kb | OK | 10 |
7 | 72ms | 1696kb | OK | 10 |
8 | 84ms | 1876kb | OK | 10 |
9 | 96ms | 1992kb | OK | 10 |
10 | 108ms | 1992kb | OK | 10 |
Punctaj total | 100 |