Pagini recente » Borderou de evaluare (job #400882) | Borderou de evaluare (job #626563) | Borderou de evaluare (job #590833) | Borderou de evaluare (job #3003475) | Borderou de evaluare (job #2281542)
Borderou de evaluare (job #2281542)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::stack<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d" , st.size() - 1);
^
main.cpp:22:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.in" , "r" , stdin);
^
main.cpp:23:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.out" , "w" , stdout);
^
main.cpp:24:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:27:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &m);
^
main.cpp:30:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 248ms | 12189kb | Incorect | 0 |
4 | 149ms | 12451kb | Incorect | 0 |
5 | 154ms | 12582kb | Incorect | 0 |
6 | 151ms | 11403kb | OK | 10 |
7 | 348ms | 12189kb | OK | 10 |
8 | 213ms | 12451kb | Incorect | 0 |
9 | 185ms | 12320kb | Incorect | 0 |
10 | 15ms | 1310kb | Incorect | 0 |
Punctaj total | 40 |