Pagini recente » Borderou de evaluare (job #2814229) | Borderou de evaluare (job #831403) | Borderou de evaluare (job #3285854) | Borderou de evaluare (job #1020382) | Borderou de evaluare (job #1368984)
Borderou de evaluare (job #1368984)
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 | 2364kb | Corect | 10 |
2 | 0ms | 2360kb | Corect | 10 |
3 | 28ms | 2368kb | Corect | 10 |
4 | 32ms | 2368kb | Corect | 10 |
5 | 28ms | 2368kb | Corect | 10 |
6 | 204ms | 2388kb | Corect | 10 |
7 | 208ms | 2400kb | Numar de puncte incorect | 0 |
8 | 204ms | 2392kb | Corect | 10 |
9 | 204ms | 2392kb | Corect | 10 |
10 | 204ms | 2396kb | Numar de puncte incorect | 0 |
Punctaj total | 80 |