Pagini recente » Borderou de evaluare (job #1181528) | Borderou de evaluare (job #2193990) | Borderou de evaluare (job #1910179) | Borderou de evaluare (job #2185453) | Borderou de evaluare (job #1490063)
Borderou de evaluare (job #1490063)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i=1;i<=n;i++) scanf("%I64d %I64d",&t[i].x,&t[i].y);
^
user.cpp:21:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:28:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",sol);
^
user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci.in","r",stdin);
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci.out","w",stdout);
^
user.cpp:20:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%I64d %I64d",&t[i].x,&t[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Okay! | 10 |
2 | 0ms | 288kb | Okay! | 10 |
3 | 0ms | 308kb | Okay! | 10 |
4 | 4ms | 344kb | Okay! | 10 |
5 | 16ms | 424kb | Wrong answer | 0 |
6 | 32ms | 564kb | Wrong answer | 0 |
7 | 44ms | 672kb | Wrong answer | 0 |
8 | Depăşit | 1176kb | Time limit exceeded. | 0 |
9 | Depăşit | 1312kb | Time limit exceeded. | 0 |
10 | Depăşit | 1128kb | Time limit exceeded. | 0 |
Punctaj total | 40 |