Pagini recente » Borderou de evaluare (job #913950) | Borderou de evaluare (job #2652160) | Borderou de evaluare (job #679506) | Borderou de evaluare (job #2557448) | Borderou de evaluare (job #1957937)
Borderou de evaluare (job #1957937)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:31:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%d%d",&b[i].x,&b[i].y);
^
user.cpp:31:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:45:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.in","r",stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out","w",stdout);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&b[i].x,&b[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Ok! | 10 |
2 | Depăşit | 6272kb | Time limit exceeded. | 0 |
3 | 4ms | 500kb | Ok! | 10 |
4 | Depăşit | 6264kb | Time limit exceeded. | 0 |
5 | 4ms | 504kb | Ok! | 10 |
6 | 12ms | 580kb | Ok! | 10 |
7 | Depăşit | 6272kb | Time limit exceeded. | 0 |
8 | 164ms | 1912kb | Ok! | 10 |
9 | Depăşit | 6268kb | Time limit exceeded. | 0 |
10 | Depăşit | 6112kb | Time limit exceeded. | 0 |
Punctaj total | 50 |