Pagini recente » Borderou de evaluare (job #434264) | Borderou de evaluare (job #201154) | Borderou de evaluare (job #168188) | Borderou de evaluare (job #2553546) | Borderou de evaluare (job #1397160)
Borderou de evaluare (job #1397160)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:53: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=n;i++) scanf("%ld%ld",&p[i].x,&p[i].y);
^
user.cpp:26:53: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
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("tri2.in","r",stdin);
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.out","w",stdout);
^
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:26:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%ld%ld",&p[i].x,&p[i].y);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&q);
^
user.cpp:30:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&p1,&p2,&p3);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 44ms | 432kb | OK | 10 |
4 | Depăşit | 428kb | Time limit exceeded. | 0 |
5 | Depăşit | 424kb | Time limit exceeded. | 0 |
6 | Depăşit | 416kb | Time limit exceeded. | 0 |
7 | Depăşit | 428kb | Time limit exceeded. | 0 |
8 | Depăşit | 424kb | Time limit exceeded. | 0 |
9 | Depăşit | 420kb | Time limit exceeded. | 0 |
10 | Depăşit | 428kb | Time limit exceeded. | 0 |
Punctaj total | 30 |