Pagini recente » Borderou de evaluare (job #834677) | Borderou de evaluare (job #2303842) | Borderou de evaluare (job #945893) | Borderou de evaluare (job #120334) | Borderou de evaluare (job #2656531)
Borderou de evaluare (job #2656531)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:64:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", st.size());
^
main.cpp:65:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0 ; i<st.size(); ++i)
~^~~~~~~~~~
main.cpp:21:41: 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);
^
main.cpp:22:43: 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);
^
main.cpp:26:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:30:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 10 |
3 | 32ms | 393kb | Corect | 10 |
4 | 32ms | 393kb | Corect | 10 |
5 | 32ms | 393kb | Corect | 10 |
6 | 189ms | 1966kb | Corect | 10 |
7 | 187ms | 1966kb | Corect | 10 |
8 | 195ms | 1966kb | Corect | 10 |
9 | 199ms | 1835kb | Corect | 10 |
10 | 208ms | 1875kb | Corect | 10 |
Punctaj total | 100 |