Pagini recente » Borderou de evaluare (job #2658394) | Borderou de evaluare (job #1005335) | Borderou de evaluare (job #631999) | Borderou de evaluare (job #1011596) | Borderou de evaluare (job #1561670)
Borderou de evaluare (job #1561670)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:35:49: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld",&Points[i].x,&Points[i].y);
^
user.cpp:35:49: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:63:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",interior);
^
user.cpp: In function ‘long long int euclid(long long int, long long int)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci.in","r",stdin);
^
user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci.out","w",stdout);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:35:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&Points[i].x,&Points[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1828kb | Okay! | 10 |
2 | 0ms | 1824kb | Okay! | 10 |
3 | 0ms | 1820kb | Okay! | 10 |
4 | 4ms | 1824kb | Okay! | 10 |
5 | 4ms | 1828kb | Wrong answer | 0 |
6 | 12ms | 1828kb | Wrong answer | 0 |
7 | 16ms | 1820kb | Wrong answer | 0 |
8 | 36ms | 1820kb | Wrong answer | 0 |
9 | 52ms | 1824kb | Wrong answer | 0 |
10 | 68ms | 1824kb | Wrong answer | 0 |
Punctaj total | 40 |