Pagini recente » Borderou de evaluare (job #2157170) | Borderou de evaluare (job #2558545) | Borderou de evaluare (job #2437225) | Borderou de evaluare (job #2485028) | Borderou de evaluare (job #1217024)
Borderou de evaluare (job #1217024)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:25:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&a[i].x,&a[i].y);
^
user.cpp:25:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:41:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",nr);
^
user.cpp:21:31: 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:22:33: 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:23:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a[i].x,&a[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Ok! | 10 |
2 | 488ms | 8084kb | Ok! | 10 |
3 | 0ms | 344kb | Ok! | 10 |
4 | 472ms | 8080kb | Ok! | 10 |
5 | 0ms | 340kb | Ok! | 10 |
6 | 8ms | 444kb | Ok! | 10 |
7 | 480ms | 8072kb | Ok! | 10 |
8 | 108ms | 2220kb | Ok! | 10 |
9 | 468ms | 8076kb | Ok! | 10 |
10 | 452ms | 7876kb | Ok! | 10 |
Punctaj total | 100 |