Pagini recente » Cod sursa (job #640576) | Borderou de evaluare (job #699650) | Borderou de evaluare (job #702223) | Borderou de evaluare (job #600988) | Borderou de evaluare (job #2211093)
Borderou de evaluare (job #2211093)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n-1;i++)
^~~
user.cpp:46:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
if(v[i].y==v[i+1].y&&v[i].x>v[i+1].x)
^~
user.cpp:30:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in","r",stdin);
^
user.cpp:31:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out","w",stdout);
^
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:35:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &v[i].x, &v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 5416kb | Numar de puncte incorect | 0 |
2 | 0ms | 5416kb | Numar de puncte incorect | 0 |
3 | Depăşit | 3368kb | Time limit exceeded. | 0 |
4 | Depăşit | 3364kb | Time limit exceeded. | 0 |
5 | Depăşit | 3364kb | Time limit exceeded. | 0 |
6 | Depăşit | 3840kb | Time limit exceeded. | 0 |
7 | Depăşit | 3840kb | Time limit exceeded. | 0 |
8 | Depăşit | 3836kb | Time limit exceeded. | 0 |
9 | Depăşit | 3840kb | Time limit exceeded. | 0 |
10 | Depăşit | 3840kb | Time limit exceeded. | 0 |
Punctaj total | 0 |