Pagini recente » Borderou de evaluare (job #2766773) | Borderou de evaluare (job #403825) | Borderou de evaluare (job #2322184) | Borderou de evaluare (job #100151) | Borderou de evaluare (job #1563330)
Borderou de evaluare (job #1563330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&ve[i].x,&ve[i].y);
^
user.cpp:38:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:27:19: warning: unused variable ‘x’ [-Wunused-variable]
int t,q,n,i,j,x;
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plagiat.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plagiat.out","w",stdout);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:36:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:38:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&ve[i].x,&ve[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 320kb | OK | 10 |
3 | 12ms | 472kb | OK | 10 |
4 | 400ms | 3396kb | OK | 10 |
5 | 400ms | 3388kb | OK | 10 |
6 | 396ms | 3388kb | OK | 10 |
7 | 396ms | 3396kb | OK | 10 |
8 | 396ms | 3392kb | OK | 10 |
9 | 400ms | 3392kb | OK | 10 |
10 | 396ms | 3396kb | OK | 10 |
Punctaj total | 100 |