Pagini recente » Borderou de evaluare (job #257471) | Borderou de evaluare (job #113747) | Borderou de evaluare (job #2352982) | Borderou de evaluare (job #1204828) | Borderou de evaluare (job #1561660)
Borderou de evaluare (job #1561660)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:34: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:34: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 ‘int euclid(long long int, long long int)’:
user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:27: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:28: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:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:34: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 | 1832kb | Okay! | 10 |
| 2 | 0ms | 1828kb | Okay! | 10 |
| 3 | 0ms | 1836kb | Okay! | 10 |
| 4 | 4ms | 1828kb | Okay! | 10 |
| 5 | 8ms | 1832kb | Wrong answer | 0 |
| 6 | 12ms | 1832kb | Wrong answer | 0 |
| 7 | 16ms | 1828kb | Wrong answer | 0 |
| 8 | 40ms | 1832kb | Wrong answer | 0 |
| 9 | 64ms | 1828kb | Wrong answer | 0 |
| 10 | 76ms | 1836kb | Wrong answer | 0 |
| Punctaj total | 40 |