Pagini recente » Borderou de evaluare (job #2114356) | Borderou de evaluare (job #1461554) | Borderou de evaluare (job #1644611) | Borderou de evaluare (job #1692890) | Borderou de evaluare (job #1242616)
Borderou de evaluare (job #1242616)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:91:113: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
printf("1000 %d 2000 %d\n", (theta[0] + 1000 * theta[1]) / theta[2], (theta[0] + 2000 * theta[1]) / theta[2]);
^
user.cpp:91:113: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘double’ [-Wformat=]
user.cpp:68:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.cpp:70:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:74:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y1, &y2 );
^
user.cpp:89:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Nu intersecteaza un segment | 0 |
2 | 0ms | 276kb | Nu intersecteaza un segment | 0 |
3 | 116ms | 1452kb | Nu intersecteaza un segment | 0 |
4 | 156ms | 1840kb | Nu intersecteaza un segment | 0 |
5 | 216ms | 2616kb | Nu intersecteaza un segment | 0 |
6 | 248ms | 3012kb | Nu intersecteaza un segment | 0 |
7 | 284ms | 3408kb | Nu intersecteaza un segment | 0 |
8 | Depăşit | 3768kb | Time limit exceeded. | 0 |
9 | Depăşit | 4160kb | Time limit exceeded. | 0 |
10 | 0ms | 280kb | Nu intersecteaza un segment | 0 |
Punctaj total | 0 |