Pagini recente » Borderou de evaluare (job #3132723) | Borderou de evaluare (job #1279955) | Borderou de evaluare (job #1020536) | Borderou de evaluare (job #2265503) | Borderou de evaluare (job #1561666)
Borderou de evaluare (job #1561666)
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:64: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: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 | 1836kb | Okay! | 10 |
3 | 0ms | 1832kb | Okay! | 10 |
4 | 4ms | 1836kb | Okay! | 10 |
5 | 4ms | 1832kb | Wrong answer | 0 |
6 | 12ms | 1828kb | Wrong answer | 0 |
7 | 12ms | 1836kb | Wrong answer | 0 |
8 | 32ms | 1832kb | Wrong answer | 0 |
9 | 52ms | 1832kb | Wrong answer | 0 |
10 | 64ms | 1832kb | Wrong answer | 0 |
Punctaj total | 40 |