Pagini recente » Borderou de evaluare (job #517552) | Borderou de evaluare (job #1635680) | Borderou de evaluare (job #2947134) | Borderou de evaluare (job #1633329) | Borderou de evaluare (job #2375258)
Borderou de evaluare (job #2375258)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:39: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);
^
main.cpp:39:39: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:28:19: warning: unused variable 'x' [-Wunused-variable]
int t,q,n,i,j,x;
^
main.cpp:25: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);
^
main.cpp:26: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);
^
main.cpp:32:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:37:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:39: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 | 2ms | 131kb | OK | 10 |
2 | 6ms | 131kb | OK | 10 |
3 | 19ms | 393kb | OK | 10 |
4 | 523ms | 5242kb | OK | 10 |
5 | 525ms | 5242kb | OK | 10 |
6 | 503ms | 5242kb | OK | 10 |
7 | 528ms | 5242kb | OK | 10 |
8 | 504ms | 5242kb | OK | 10 |
9 | 509ms | 5242kb | OK | 10 |
10 | 514ms | 5242kb | OK | 10 |
Punctaj total | 100 |