Pagini recente » Borderou de evaluare (job #1604499) | Borderou de evaluare (job #2130929) | Borderou de evaluare (job #2075247) | Borderou de evaluare (job #2837556) | Borderou de evaluare (job #1368962)
Borderou de evaluare (job #1368962)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:62:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < st.size()-1; i++)
^
user.cpp:63:34: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<punct> >::value_type {aka punct}’ [-Wformat=]
printf("%lf %lf\n", st[i]);
^
user.cpp:63:34: warning: format ‘%lf’ expects a matching ‘double’ argument [-Wformat=]
user.cpp:64:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < st2.size()-1; j++)
^
user.cpp:65:35: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<punct> >::value_type {aka punct}’ [-Wformat=]
printf("%lf %lf\n", st2[j]);
^
user.cpp:65:35: warning: format ‘%lf’ expects a matching ‘double’ argument [-Wformat=]
user.cpp: In function ‘void citire()’:
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:29:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &a[i].x, &a[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:70:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in", "r", stdin);
^
user.cpp:71:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2368kb | Corect | 10 |
2 | 0ms | 2364kb | Corect | 10 |
3 | 32ms | 2364kb | Numar de puncte incorect | 0 |
4 | 32ms | 2360kb | Corect | 10 |
5 | 32ms | 2364kb | Corect | 10 |
6 | 356ms | 3992kb | Numar de puncte incorect | 0 |
7 | 352ms | 3992kb | Numar de puncte incorect | 0 |
8 | 352ms | 3988kb | Numar de puncte incorect | 0 |
9 | 352ms | 3980kb | Numar de puncte incorect | 0 |
10 | 352ms | 3992kb | Numar de puncte incorect | 0 |
Punctaj total | 40 |